Commit Graph

39 Commits

Author SHA1 Message Date
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 69fbe19f06 fix make_terminal()
if the node is already terminal, no need to break its degree
This was an issue if the degree is actually 0
2017-02-10 14:00:07 +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 0530b49686 fix a warning 2016-12-23 09:57:01 +01:00
Sébastien Loriot 6c7bee5d0a fix conversion warnings 2016-12-09 14:14:08 +01:00
Sébastien Loriot fac4a6add5 fix the report of polyline in the visitor
the 2 first nodes were always  reported twice
2016-12-09 13:36:55 +01:00
Sébastien Loriot 90ea48839b shortcut a loop 2016-12-08 15:22:05 +01:00
Sébastien Loriot 2710e84113 fix a warning 2016-12-08 15:22:04 +01:00
Sébastien Loriot 804f878556 fix warnings 2016-12-08 15:22:04 +01:00
Sébastien Loriot fc54fd135a update the code after the update of the cmap package 2016-12-07 17:20:41 +01:00
Sébastien Loriot ddaf6cd90b avoid reporting several time the same node per edge and face
This happens only in the case of coplanar triangles and can
be avoided by only reporting the node when it is first
created
2016-11-10 09:23:02 +01:00
Sébastien Loriot ca4e71a1aa remove trailing whitespaces 2016-11-08 11:10:42 +01:00
Sébastien Loriot 8390e569b7 Correctly handle tangencies of input model
this handle the case of identical models (even differently meshed)
and model that are tangent only at vertices
2016-11-03 10:31:57 +01:00
Sébastien Loriot d84def1b44 fix compilation issue 2016-09-30 17:12:15 +02:00
Sébastien Loriot 1bb8b69f17 fix compilation errors 2016-09-30 17:06:10 +02:00
Sébastien Loriot 6713621ae3 Update branch with master 2016-09-30 15:43:06 +02:00
Sébastien Loriot c6fbc450e6 update after graph_type change
follow up of 830a977c73d3b1952bd2ca712ca8bad81917c2ca
2016-09-02 15:50:09 +02:00
Sébastien Loriot f30a97d808 use the lastest CMap API
this was responsible for bugs in the demo plugin where the cmap
is created in a library and used in another one
2016-07-21 11:29:08 +02:00
Sébastien Loriot 5d0c508458 replace a map by two bitsets for polyline creation 2016-06-15 11:47:04 +02:00
Sébastien Loriot 960b996e4c make use of the ppmap for self intersection tests 2016-02-02 15:14:43 +01:00
Sébastien Loriot acba778a9e Merge branch 'Polyhedra_corefinement-enhancements-sloriot' into HEAD 2016-01-21 11:06:59 +01:00
Sébastien Loriot 7779aa1eee add flag to first test for self-intersection facets involved in the intersection 2016-01-18 12:46:42 +01:00
Sébastien Loriot f222383663 factorize call to convertor 2016-01-18 12:46:03 +01:00
Sébastien Loriot 03b087f6f4 increase the precision of the output when it is not precise enough 2016-01-18 12:45:06 +01:00
Andreas Fabri 1e2ff1131e assert -> CGAL_assertion 2015-08-27 16:51:55 +02:00
Sébastien Loriot d6ce62d862 change the ways coplanar patches are handled
the previous method was incorrect since some edges inside a
coplanar patch were reported. The following fix let the
intersection of coplanar triangles being computed but
intersection edges are filtered to keep only those
incident to different triangles in both polyhedra.
The drawback of this approach is that the intersection
inside the patch are computed and not really needed.
A better approach would be to be able to directly detect
the boundary of a set of coplanar triangles.
2015-04-21 17:02:11 +02:00
Sébastien Loriot 0211721899 Merge branch 'old/Polyhedra_corefinement-enhancements-sloriot' into Polyhedra_corefinement-enhancements-sloriot
Conflicts:
	Operations_on_polyhedra/examples/Operations_on_polyhedra/a_minus_b_by_hand.cpp
	Operations_on_polyhedra/examples/Operations_on_polyhedra/orient_polyhedron_test.cpp
	Operations_on_polyhedra/include/CGAL/internal/Operations_on_polyhedra/Ray_3_Triangle_3_traversal_traits.h
	Operations_on_polyhedra/include/CGAL/intersection_of_Polyhedra_3.h
	Operations_on_polyhedra/include/CGAL/intersection_of_Polyhedra_3_refinement_visitor.h
	Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/MainWindow.cpp
2015-01-29 15:55:17 +01:00
Sébastien Loriot 2f4ed34a85 fix for corefinement demo plugin in case of hand modified polyhedron
In case a polyhedron is modified "by hand", the canonical halfedge
of a pair might be on the boundary. If it's the case, we simply
take the opposite.
Add assertions to check we don't access the facet of a border halfedge

Trivial bug fix for master
2015-01-16 11:19:32 +01:00
Sébastien Loriot eefc18c12a Workaround for CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG
Trivial bugfix for master
2014-08-29 14:55:12 +02:00
Sébastien Loriot f3f1e89008 add a flag to avoid computing the intersection of coplanar facets 2014-03-26 10:00:53 +01:00
Sébastien Loriot 23800096aa add comments 2014-02-25 17:35:02 +01:00
Sébastien Loriot 70a7363e74 add missing template parameter 2014-02-25 08:42:40 +01:00
Guillaume Damiand b69a02e291 Move CGAL_CMAP_DEPRECATED in .h 2013-11-14 13:39:07 +01:00
Sébastien Loriot fa8820bc3f call new_vertex_added of the vertex node visitor before setting the point
more precisely, before putting the point in the property map
2013-11-05 12:24:14 +01:00
Sébastien Loriot d7ec83c684 follow up of 964e529c and dcbdc636 to use a point pmap in corefinement 2013-09-23 10:15:03 +02:00
Sébastien Loriot db47bc80f7 use a point pmap for the intersection of polyhedra corefinement visitor
you can get an exact intersection using an polyhedron with points
    from another kernel
2013-09-23 10:14:57 +02:00
Sébastien Loriot 7dcb42306a using a point property map for the intersection of polyhedra functor
you can get an exact intersection using an polyhedron with points
from another kernel
2013-09-23 10:14:47 +02:00
Sébastien Loriot c0ef78777e using Default for template parameters 2013-09-23 10:14:39 +02:00
Sébastien Loriot b5aa981404 move corefinement to operations on polyhedra 2013-06-20 16:47:26 +02:00