Commit Graph

173 Commits

Author SHA1 Message Date
Sébastien Loriot 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Andreas Fabri 93cfd56c83 Fix for VC2017 which has a problem with the conversion to std::pair 2018-11-20 16:54:30 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Maxime Gimeno 96f7b0f138 Fix catch value warnings 2017-07-21 11:27:14 +02:00
Mael Rouxel-Labbé 4944a6d48a Fixed some indentation in Skin_surface_3 2017-06-28 10:16:23 +02:00
Mael Rouxel-Labbé ec7efb6d70 Fixed Has_nested_type_Bare_point includes 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 9fbf2720ce Annihilated Regular_triangulation_euclidean_traits_23 across all packages
Left a little bit alive in the tests and in the Triangulation_23/doc
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 3dcb8918a9 Fixed (wrongly) assuming that traits define Bare_point / Weighted_point 2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 0c813e42b1 Improved readability of Skin_surface_3
Only indentation and whitespace is changed.

Almost like a skin (sur)facelift !
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé d3a1a96d1c Removed unused variable 2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé ecf92c4689 Removed any use of Regular_triangulation_euclidean_traits from Skin surface 2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 81bc8604f0 Fixed Bare_point / Weighted_point across Skin_surface
This also removes the definition of Bare_point from the Skin surface
traits class (as it should be: Skin_surface defines Bare_point)
2017-06-28 10:14:35 +02:00
Andreas Fabri 7c89697d17 WIP: Almost fix Skin_surface_3 2017-06-28 10:14:35 +02:00
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