Commit Graph

232 Commits

Author SHA1 Message Date
Laurent Rineau 204033d78a Merge pull request #2777 from MaelRL/IO-Fix_dxf_reader-GF
Circular_kernel_2: Fix the circle reading in the `.dxf ` file reader
2018-02-02 16:07:44 +01:00
Mael Rouxel-Labbé 558465d2a6 Fixed dxf circle reader (in .dxf, the radius is not squared)
Removed dead link
2018-02-01 12:27:43 +01:00
Sébastien Loriot ff26773f7b remove include directive for checking GPL compliance in LGPL headers 2017-11-12 10:21:35 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Sébastien Loriot 64f7f5892e Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' 2017-01-26 18:38:17 +01: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
Sébastien Loriot 3ce00989fc update old code using Object with code using variants 2017-01-17 10:19:32 +01:00
Sébastien Loriot 119da894fe add missing CK::Intersect_2(Line_2,Line_2,OutputIterator) 2017-01-17 10:19:00 +01:00
Laurent Rineau 08126075a7 Merge pull request #1582 from afabri/Circular_kernel_2-ICL_variant_bug-GF
Circular_kernel_2: Add a dummy field to the variant to work around an ICL bug
2016-10-20 09:47:35 +02:00
Andreas Fabri eb64523536 Make the additional type a maco. Add operator(int) for a visitor 2016-10-18 16:03:40 +02:00
Laurent Rineau c24a2a3347 Merge pull request #1497 from afabri/Circular_kernel_2-static-GF
Circular_kernel_2: Use thread local storage
2016-10-17 10:01:14 +02:00
Andreas Fabri ca609917db Explain in a comment in the code 2016-10-15 08:12:03 +02:00
Andreas Fabri ab77943606 Add a dummy field to the variant to work around an ICL bug 2016-10-14 17:47:18 +02:00
Sébastien Loriot f92e0751c8 add missing include directive 2016-09-30 15:23:15 +02:00
Laurent Rineau 51f5697d3d Add missing #include 2016-09-30 15:23:14 +02:00
Andreas Fabri 62c2d623b0 Fix package Circular_kernel_2: Add #include 2016-09-30 15:22:27 +02:00
Andreas Fabri abc5ba6c97 Circular_kernel_2: Use thread local storage 2016-09-27 11:45:23 +02:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Andreas Fabri c32b00acce partial cleanup of issue #595 2016-01-08 17:55:08 +01:00
Andreas Fabri 2be18d0335 get() -> get_pointee_or_identity() 2015-05-04 11:41:26 +02:00
Laurent Rineau e965b6293e Fix compilation errors with C++11 and Boost-1.56
Use *explicit* conversions to `bool`, for boost::shared_ptr and
boost::optional.
2015-01-14 14:47:29 +01:00
Andreas Fabri 2916850771 use iformat for reading doubles 2014-11-26 16:53:50 +01:00
Andreas Fabri c5cb0bcd74 Use the poor compiler's version of 'using' (thank you Laurent)
Instead of writing explicitly all overloads of the operator
of the base class, we add a fully templated operator, and
even with 2,3,4,5 arguments where necessary. All it does
is calling the operator of the base class.

Ideally this was just one macro
2014-03-25 14:38:38 +01:00
Efi Fogel 784c925973 Condionally defined some types 2013-12-08 11:07:21 +02:00
Efi Fogel bd9abb7f2f Eliminated warning messages by replacing typedefs 2013-12-06 16:22:03 +02:00
Andreas Fabri 17859993c8 Fix leaks: The assigment didn't remove an already existing bbox 2013-11-12 15:43:33 +01:00
Sébastien Loriot 64b130ba06 typo 2013-09-25 18:08:15 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Sébastien Loriot 496d75c256 update licenses that were incorrect after merging replace object feature branch 2013-06-21 15:06:17 +02:00
Sébastien Loriot c67ba90514 Merge branch 'Kernel-replace_object-pmoeller-old' into Kernel-replace_object-pmoeller
Conflicts:
	Circular_kernel_2/include/CGAL/Circular_kernel_2/Circular_arc_2.h
	Circular_kernel_2/include/CGAL/Circular_kernel_2/internal_functions_on_circle_2.h
	Installation/changes.html
	Kernel_d/doc/Kernel_d/CGAL/intersections_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Center_of_sphere_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Compare_lexicographically_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Component_accessor_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Compute_coordinate_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Contained_in_affine_hull_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Contained_in_linear_hull_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Contained_in_simplex_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Equal_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Has_on_positive_side_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Intersect_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Less_coordinate_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Less_lexicographically_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Less_or_equal_lexicographically_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Lift_to_paraboloid_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Linear_base_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Linear_rank_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Linearly_independent_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Midpoint_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Orientation_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Oriented_side_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Orthogonal_vector_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Point_dimension_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Point_of_sphere_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Point_to_vector_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Project_along_d_axis_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Side_of_bounded_sphere_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Side_of_oriented_sphere_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Squared_distance_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Value_at_d.h
	Kernel_d/doc/Kernel_d/Concepts/Kernel--Vector_to_point_d.h
2013-05-23 13:13:08 +02:00
Sébastien Loriot 918c111113 make Circular_kernel_2 and Spherical_kernel_3 work with a Lazy Linear Kernel
for some reason one should not inherit from the linear
intersection predicate
2013-03-22 15:04:38 +01:00
Sébastien Loriot debf525a02 correctly forward result_type in Circular_kernel_2
Conflicts:
	Circular_kernel_2/include/CGAL/Circular_kernel_2/Circular_arc_2.h
2013-03-22 11:29:38 +01:00
Sébastien Loriot c28b989b89 correctly forward result_type in Circular_kernel_2 2013-03-21 11:44:55 +01:00
Sébastien Loriot d84d793ead fix variant type for intersection of two circles 2013-03-18 08:20:48 +01:00
Sébastien Loriot 92487761fc trivial bugfix: intersecting two identical circles put a circle into the object
Conflicts:
	Circular_kernel_2/include/CGAL/Circular_kernel_2/internal_functions_on_circle_2.h
2013-03-18 08:20:26 +01:00
Sébastien Loriot 6d1ae7e0ac trivial bugfix: intersecting two identical circles put a circle into the object 2013-03-18 08:14:14 +01:00
Sébastien Loriot 91943b0df1 remove result_type from Intersect_2 to avoid having it defined in derived class
also fix the compilation loop in Intersect_2::operator()
2013-03-15 19:00:00 +01:00
Sébastien Loriot a8e6c05e9b rename K to CK and remove trailing whitespaces 2013-03-15 15:28:23 +01:00
Sébastien Loriot 4b603f40ba fix the compilation loop bug with result_of implemented with decltypes
I introduce a dedicated intersection traits and all CK2 member functions
use this traits instead of the general one. That way, the return type
is always correct. The same fix will be done for CK3
2013-03-15 13:21:05 +01:00
Sébastien Loriot ff32930056 fix issue introduced by the update of the branch 2013-03-15 13:08:31 +01:00
Sébastien Loriot 14429d2b8e fix compilation errors 2013-03-14 18:32:14 +01:00
Sébastien Loriot f97d6b8bd9 s/boost::result_of/cpp11::result_of/g 2013-03-14 10:38:13 +01:00
Sébastien Loriot d6905c61be Merge branch 'Kernel-replace_object-pmoeller-old' into Kernel-replace_object-pmoeller
Conflicts:
	AABB_tree/include/CGAL/AABB_tree.h
	Circular_kernel_2/include/CGAL/Circular_kernel_2/internal_functions_on_line_arc_2.h
	Intersections_3/include/CGAL/Intersections_3/intersection_3_1_impl.h
	Kernel_23/doc/Kernel_23/CGAL/intersections.h
	Kernel_23/doc/Kernel_23/Concepts/FunctionObjectConcepts.h
	STL_Extension/doc/STL_Extension/CGAL/iterator.h
2013-03-14 10:29:31 +01:00
Andreas Fabri c7e68385be remove unused variables and #if 0 buggy non used code 2013-02-26 16:52:55 +01:00
Laurent Rineau 2d8da664a3 Merge branch 'CGAL-fix_warnings-gdamiand'
Conflicts:
	.gitignore
	Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt
2013-02-22 13:02:37 +01:00
Andreas Fabri c029f702a3 use more types 2013-02-07 11:02:14 +01:00
Sébastien Loriot f0f34d45fa workaround to force the usage of the tr1 implementation of result_of from boost
see http://www.boost.org/doc/libs/1_52_0/libs/utility/utility.htm#result_of
2013-02-04 11:30:28 +01:00
Andreas Fabri ee5b4683d0 deal with Triangulation_3, Polyhedron,Voronoi, Minkowski_sum_3 2013-01-31 09:47:54 +01:00
Sébastien Loriot 82b2ebc865 apply the cpp0x namespace renaming in all files 2012-12-19 11:33:17 +01:00