Jane Tournois
d137b20acd
add checking if (s, p, q) is degenerate
2019-03-12 14:04:36 +01:00
Jane Tournois
0de369dd02
add debug code
2019-03-12 12:17:11 +01:00
Jane Tournois
c64bfb8e86
do not construct normals to make the test
2019-03-11 15:18:01 +01:00
Jane Tournois
9cbb6f3785
test inversion only on faces that really need to be tested
...
and rename function collapse_does_not_invert_face(he) to
collapse_would_invert_face(he) for clarity
2019-03-08 16:22:17 +00:00
Jane Tournois
6f12a4ab6f
fix the test ``collapse_does_not_invert_face()`
...
Testing orientation of normals per patch (identified by their Id) is not a
good solution, because it can happen that we are trying to collapse an edge
that is sharp but which has both of its incident faces on the same surface
patch (wrt ids).
The new test is a lot simpler : for each non-degenerate face of the link of
the edge to be collapsed, simply check if its own normal has changed
orientation or not. The adjacent faces do not need to be taken into account
2019-03-08 16:19:31 +00:00
Mael Rouxel-Labbé
c3ace2b72c
Fixed VPM / Geom traits not propertly passed / used in triangulate_faces
2019-02-21 14:44:16 +01:00
Sébastien Loriot
1be277202b
Merge remote-tracking branch 'cgal/releases/CGAL-4.12-branch' into HEAD
2018-12-31 10:29:19 +01:00
Sebastien Loriot
e828d7a29d
Merge pull request #3558 from sloriot/PMP-bbox_empty_meshZ
...
Handle empty meshes
2018-12-31 10:22:42 +01:00
Sébastien Loriot
fe5c3a77f9
swap the edge too
2018-12-21 09:51:58 +01:00
Sébastien Loriot
0f0f03e08b
handle empty meshes
2018-12-19 16:05:08 +01:00
Laurent Rineau
a82bb996ae
Merge pull request #3500 from sloriot/PMP-stitching_nm_bug-4.13
...
Fix for stitching (4.13 and master)
2018-12-19 16:00:24 +01:00
Laurent Rineau
b53a562e89
Merge pull request #3499 from sloriot/PMP-stitching_nm_bug
...
Fix for stitching (4.12)
2018-12-19 15:44:45 +01:00
Sébastien Loriot
fa52560c62
handle case of empty meshes
2018-12-11 07:02:06 +01:00
Sébastien Loriot
8da9e7ceec
handle case of empty meshes
2018-12-11 06:44:27 +01:00
Sébastien Loriot
3069612c37
two halfedges with the same target and source points are non-manifold
...
similar as 44addb1 from 4.12-branch
2018-11-30 10:01:01 +01:00
Sébastien Loriot
44addb1f83
two halfedges with the same target and source points are non-manifold
2018-11-30 09:56:33 +01:00
Sébastien Loriot
089377d238
Merge remote-tracking branch 'cgal/releases/CGAL-4.12-branch' into HEAD
2018-11-12 10:07:27 +01:00
Sébastien Loriot
65f386b7a3
use the vertex point map provided and not the default one
2018-11-08 14:23:28 +01:00
Sébastien Loriot
3e46680513
use the true name parameter type
2018-11-08 14:22:59 +01:00
Sébastien Loriot
5dad6f0c71
take into account clipper orientation to clip open meshes
2018-10-29 15:04:06 +01:00
Laurent Rineau
d9851eaebe
Merge pull request #3407 from MaelRL/PMP-Fix_do_intersect_look_up_error
...
PMP: Fix look-up error
2018-10-29 10:42:35 +01:00
Mael Rouxel-Labbé
5ab34f4c8c
Specified namespace to avoid look-up errors
2018-10-16 08:43:10 +02:00
Sébastien Loriot
458d2cc6cf
be more permissive for collapsing constrained edges
...
the only non-collapsable constrained edges are those with
both endpoints being explicitly constrained vertices or
corners
2018-08-20 17:24:28 +02:00
Sébastien Loriot
168d684ef1
Merge pull request #3255 from sloriot/PMP-rm_unused_file
...
Remove unused file
2018-07-25 18:57:15 +02:00
Sébastien Loriot
d05df530b3
Merge pull request #2658 from MaelRL/Periodic_3_mesh_3-Feature-MBogdanov
...
Periodic_3_mesh_3, new package
2018-07-25 18:55:12 +02:00
Sébastien Loriot
3f9e22994c
Merge pull request #3252 from sloriot/PMP-autorefine_bugfixes
...
Autorefine bug-fix
2018-07-25 18:53:57 +02:00
Sébastien Loriot
302cebf325
check iterator is valid before dereferencing it
2018-07-25 17:04:40 +02:00
Sébastien Loriot
d8518d5c80
remove unused file
2018-07-24 13:18:06 +02:00
Sébastien Loriot
da76851f75
handle special case when intersection segments shares a common endpoint
2018-07-23 17:13:58 +02:00
Mael Rouxel-Labbé
758104c189
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-07-18 17:42:23 +02:00
Sébastien Loriot
3a3bfcfd09
do not build the kd-tree twice
...
build() will trigger the computation of the kd-tree if it was already built
2018-07-17 14:31:53 +02:00
Laurent Rineau
3ab9482910
Merge branch 'releases/CGAL-4.12-branch'
2018-07-12 11:37:49 +02:00
Laurent Rineau
c63a7c77e5
Merge pull request #3214 from sloriot/PMP-autorefine_identical_points
...
Make sure identical vertices have identical coordinates in autorefinement
2018-07-12 11:32:49 +02:00
Laurent Rineau
72f0c4af95
Fix the obvious bug
2018-07-10 13:47:40 +00:00
Sébastien Loriot
1d923e2253
register all vertices for autorefinement
...
this is useful to guarantee that the final floating point coordinates
are identical
2018-07-09 16:41:46 +02:00
Sébastien Loriot
ba8356c0a5
do not delete twice a vertex in case it was already updated
2018-07-09 11:22:19 +02:00
Mael
74e569db86
Merge branch 'master' into Periodic_3_mesh_3-Feature-MBogdanov
2018-07-04 16:55:30 +02:00
Laurent Rineau
20959db103
Merge pull request #3062 from maxGimeno/BGL-Copy_face_graph_use_np-GF
...
BGL: copy_face_graph() with NamedParameters
2018-07-04 16:49:54 +02:00
Laurent Rineau
a2c30daa17
Merge pull request #3106 from maxGimeno/PMP-Extrude-GF
...
PMP: extrude_mesh()
2018-07-04 16:49:48 +02:00
Maxime Gimeno
a584af827b
Fix Conflicts
2018-06-29 18:21:24 +02:00
Mael Rouxel-Labbé
fd076c3c6d
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-06-28 16:25:54 +02:00
Laurent Rineau
2d9000efde
Merge pull request #3111 from sloriot/PMP-coref_preserve_face_attributes
...
Add a visitor to track the creation of faces in corefinement functions
2018-06-28 16:09:37 +02:00
Sébastien Loriot
1d59e0a350
add missing include directives
2018-06-27 17:07:13 +02:00
Sébastien Loriot
af8395585e
use const functors
2018-06-27 17:02:42 +02:00
Laurent Rineau
10a84aa34e
Merge branch 'master' into Periodic_3_mesh_3-Feature-MBogdanov
2018-06-27 10:33:24 +02:00
Sébastien Loriot
6d89662e2a
use need API + add missing overload
2018-06-26 00:17:30 +02:00
Maxime Gimeno
803e5e6717
add missing boost::
2018-06-22 10:32:23 +02:00
Laurent Rineau
b44ad18983
Merge branch 'master' into PMP-stitch_after_orient-GF
2018-06-21 12:31:26 +02:00
Sébastien Loriot
0abfba8ac0
Update branch 'PMP-coref_preserve_face_attributes' from master@5ceb529d0f
2018-06-21 10:53:59 +02:00
Mael Rouxel-Labbé
7490f34560
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-06-21 10:15:25 +02:00