Commit Graph

160 Commits

Author SHA1 Message Date
Laurent Rineau 87c9afd486 Fix the compilation of individual headers
- in most cases, that was just adding missing #include
- I have removed the use of <CGAL/basic.h>
2017-04-13 15:56:51 +02:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Jane Tournois d23aa50cb0 reverse signs returned by Power_side_of_bounded_power_sphere_3
the previously used In_smallest_orthogonal_sphere predicate
was returning the opposite of what
Power_side_of_bounded_power_sphere_3 returns
2016-11-24 17:09:41 +01:00
Jane Tournois a8fc1db9f4 Revert "Revive the function In_smallest_orthogonal_sphere so that we can compare it with the new function"
This reverts commit d1184c91e2.
2016-11-24 17:02:20 +01:00
Andreas Fabri d1184c91e2 Revive the function In_smallest_orthogonal_sphere so that we can compare it with the new function 2016-11-23 13:05:14 +01:00
Andreas Fabri fb96b1d81d Change from oriented to bounded power sphere test. Testsuite is still RED 2016-11-22 16:04:22 +01:00
Andreas Fabri 490bbd7799 fix Skin_surface 2016-11-16 10:15:14 +01:00
Andreas Fabri db7b47f1cf fix Skin_surface_3 2016-11-03 14:53:54 +01:00
Andreas Fabri 7fcca62071 remove unused typedef 2016-11-03 13:10:27 +01:00
Andreas Fabri c130360489 fix Skin_surface 2016-11-03 13:10:00 +01:00
Andreas Fabri 54ec8f9d92 the VC++ testsuite should pass now 2016-11-03 13:06:02 +01:00
Sébastien Loriot c6575e1717 replace inclusion of a deprecated header 2015-11-24 01:05:11 +01:00
Andreas Fabri 224e75413c Add member initializer 2015-07-17 10:55:38 +02:00
Laurent Rineau 367314623d Add a script to detect wrong permissions, and fix permissions
The script uses zsh, and lists regular files that have the
'executable' permission.

At the same time, I fix the permissions of several files.
2014-02-06 18:49:09 +01:00
Andreas Fabri 9ab541b052 Use boost::shared_ptr to avoid a memory leak 2013-11-19 10:28:51 +01:00
Andreas Fabri c4202a9e0c Instead of if (! map::find()) {map::insert()} we call just map::insert()
as it returns a pair with a bool if it really inserted something
2013-09-27 15:16:02 +02:00
Andreas Fabri abdbe0f74d Replace std::map[key] = value with std::map_insert(make_pair(key,value0)
as VC++ in debug mode makes too expensive checks
which results in a timeout in the testsuite
2013-09-27 11:09:46 +02:00
Andreas Fabri 6f08686b71 obvious fix in an unused function 2013-02-27 13:55:06 +01:00
Sébastien Loriot 82b2ebc865 apply the cpp0x namespace renaming in all files 2012-12-19 11:33:17 +01:00
Laurent Rineau db194534c7 First big patch to fix -Wunused-local-typedefs
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Laurent Rineau dc91170ac8 Remove unused variables 2012-01-23 08:09:05 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Andreas Fabri 0555f1133b const static int is illegal 2011-06-30 22:17:00 +00:00
Andreas Fabri 7578d859d9 const static int is illegal 2011-06-30 22:16:29 +00:00
Nico Kruithof 3131d6b592 Added an example to show how to retrieve the weighted points that define a face of the polyhedron 2011-02-10 20:38:46 +00:00
Nico Kruithof a389c224a5 Cleaning up typedefs 2011-01-09 11:47:58 +00:00
Sébastien Loriot 10cc7ed3b5 correct mixed up indices in precondition 2010-12-29 09:59:53 +00:00
Nico Kruithof 7ea41f049b Fixing a bug when referencing the point of the infinite vertex. 2010-12-07 09:46:17 +00:00
Nico Kruithof 8364150a57 Fixing the Skin surface package for kernels other than the EPIC-kernel. 2010-11-30 20:34:12 +00:00
Andreas Fabri 05a4d4abd4 Remove unused variables 2010-11-12 09:06:27 +00:00
Laurent Rineau 9277a77b72 Fix all svn:keywords in */include/ 2010-10-04 11:00:27 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Nico Kruithof d8cfbae694 Resolving errors reported by the Intel compiler and LLVM 2010-05-20 19:04:35 +00:00
Andreas Fabri 6e35884d9f Remove unused constructor which does not initialize a reference data member and is hence buggy (discovered by Intel) 2010-05-20 07:44:17 +00:00
Nico Kruithof 33e9b04848 Removed an unused and non-ansi-compliant constructor 2010-05-11 06:06:51 +00:00
Andreas Fabri e859f43641 Switch from CGAL::Random to boost::rand48 as T3 did so 2010-01-27 08:20:18 +00:00
Andreas Fabri 65e3ff529b Just FK would be nicer, but VC 2005 messes it up with an FK in a base class when compiling degenerate_test.cpp 2010-01-22 12:28:06 +00:00
Andreas Fabri d8c72fb5c5 VC mixup 2010-01-21 17:05:19 +00:00
Laurent Rineau 83912b2952 Massive fix of svn:keywords properties, and $URL$ keyword. 2009-10-20 08:59:26 +00:00
Sébastien Loriot 11d8010174 updates according to the modification of regular_3 traits 2009-10-19 14:29:50 +00:00
Sylvain Pion f0ed774e37 Move CGAL::array to namespace CGAL::cpp0x, like tuple. 2009-04-30 14:03:52 +00:00
Andreas Fabri 78982e2575 Protection is outside the try block as VC8 has the CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG 2008-10-23 13:10:00 +00:00
Andreas Fabri 330f35b0ed Protection is outside the try block as VC8 has the CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG 2008-10-23 13:06:38 +00:00
Sylvain Pion a0be560caa New profiling tool : Profile_branch_counter, that improves the display
of failure/calls ratios.  With the corresponding macro CGAL_BRANCH_PROFILER().
2008-09-08 09:52:37 +00:00
Sylvain Pion 44c185f1f4 Rename boost::array to CGAL::array. 2008-08-26 13:15:21 +00:00
Sylvain Pion 53f5c9679b Add a using directive "using std::array" in namespace CGAL to import either:
- C++0x's std:array from <array>
- TR1's std::tr1::array from <tr1/array>
- boost::array from <boost/array.hpp>
Motivation : GCC's std::array is faster than boost::array.

Move CGALi:make_array to namespace CGAL.

Document CGAL::array.
2008-08-26 13:08:16 +00:00
Sylvain Pion a8e8ecfdcf Replace Interval_nt_advanced::unsafe_comparison by Uncertain_conversion_exception.
(it was alrady the same type, but now the filtering code can be independent on Interval_nt_advanced
(think other interval types, or other types of filters).
2008-07-31 13:31:26 +00:00
Sylvain Pion 97929b6bd2 Replace is_indeterminate() by !is_certain() 2008-07-30 12:40:57 +00:00
Sylvain Pion 240892f892 Replace CGAL::Triple by boost::array. 2008-07-25 14:59:27 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00