Mael Rouxel-Labbé
35cd0513cb
Put a simple check before the more expensive angle computation
2019-08-03 14:51:11 +02:00
Mael Rouxel-Labbé
56354bcf8b
Use approximate sqrt because compute_area_3 does not work for some kernels
2019-08-02 12:14:25 +02:00
Mael Rouxel-Labbé
71304cf145
Fix np internal type
2019-08-02 11:04:26 +02:00
Mael Rouxel-Labbé
9f3009f88b
Add breathing room
2019-08-02 09:05:09 +02:00
Mael Rouxel-Labbé
22acb31a12
Add a function to remove small (in terms of area && volume) CCs
2019-08-01 16:10:52 +02:00
Mael Rouxel-Labbé
16cdbb4b8f
Avoid default constructing the traits
2019-08-01 16:10:36 +02:00
Mael Rouxel-Labbé
edbe852d4d
Simplify initialization
2019-08-01 16:10:14 +02:00
Jane Tournois
5f8a58a046
deal with faces on the boundary
...
a precondition inside `flip_edge()` fails if this boundary condition is not satisfied
2019-08-01 14:58:19 +02:00
Mael Rouxel-Labbé
96d1cee7a7
Refactor a bit 'self_intersections()' ahead of later use
...
(A later would be to consider that two faces intersect if they are
e.g. vertex-adjacent)
2019-07-30 13:01:10 +02:00
Mael Rouxel-Labbé
7e7abafd08
Add some code to treat self-intersections locally
2019-07-30 13:00:32 +02:00
Mael Rouxel-Labbé
68e80471b2
Revert some changes about passing a face range to remove_self_intersections
2019-07-30 11:43:29 +02:00
Sébastien Loriot
b84297f8f6
update the usage for the new CGAL named function parameters
2019-07-29 09:38:39 +02:00
Sébastien Loriot
25a05e9f4c
Merge branch 'CGAL-named_function_parameters-4.14' into master
...
Conflicts resolved by hand
2019-07-28 23:46:43 +02:00
Sébastien Loriot
aa47744c36
update the usage for the new CGAL named function parameters
2019-07-28 22:30:17 +02:00
Sébastien Loriot
2f81a21523
Merge 'CGAL-named_function_parameters' for 4.13-branch into 4.14-branch
...
Conflicts resolved by hand
2019-07-28 22:30:13 +02:00
Mael Rouxel-Labbé
3a89e8240e
Split large and eclectic file PMP/repair.h into smaller files
2019-07-25 09:25:54 +02:00
Mael Rouxel-Labbé
dac6c04529
Make lack of degenerate faces a precondition of self-intersection removal
...
It's just too tedious / ugly maintaining a range while removing degenerate
edges and faces.
2019-07-24 10:42:03 +02:00
Mael Rouxel-Labbé
d5eff6a663
Minor doc fix
2019-07-24 10:41:37 +02:00
Mael Rouxel-Labbé
633477b8aa
Remove useless border check (the vertex is interior)
2019-07-23 15:24:53 +02:00
Martin Skrodzki
405cf12249
Implement Priority Queue for the set of candidate triangles.
2019-07-21 14:18:35 +02:00
Martin Skrodzki
680edc46b1
Modify triangle bounding box distance to have sharper bounds.
2019-07-21 11:07:21 +02:00
Martin Skrodzki
156cac5107
Implement benchmarking on both time and number of culled triangles.
2019-07-20 19:05:55 +02:00
Martin Skrodzki
130dcbc158
Bugfix entering nodes of TM2 when traversing it.
2019-07-19 11:07:06 +02:00
Mael Rouxel-Labbé
00f8f3ae43
Remove example that had been moved to test (snap already has two tests)
2019-07-19 09:07:01 +02:00
Sébastien Loriot
4a58db22b9
fix warnings
2019-07-18 20:01:44 +02:00
Mael
9ba0870ebd
Merge branch 'master' into PMP-Snap_pp-GF
2019-07-18 17:43:04 +02:00
Sébastien Loriot
41ef56f8ad
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' into HEAD
2019-07-18 16:57:27 +02:00
Sébastien Loriot
c411ae69d0
Merge pull request #2951 from kkatrio/PMP-smoothing-kkatrio
...
PMP: Mesh and shape smoothing
2019-07-18 16:49:05 +02:00
Sébastien Loriot
1f8065c6c3
Merge pull request #3885 from MaelRL/PMP-Locate-GF
...
PMP: Add locate.h and rewrite Triangulation_2 graph traits
2019-07-18 16:40:49 +02:00
Sebastien Loriot
8adc64dfe3
Merge pull request #3860 from MaelRL/PMP-Add_non_manifold_vertices_collector-GF
...
PMP: Add function 'non_manifold_vertices'
2019-07-18 16:38:15 +02:00
Sebastien Loriot
0c089d6f91
Merge pull request #3721 from sloriot/PMP-clip_fixes
...
Fixes for clipping
2019-07-18 16:28:44 +02:00
Mael Rouxel-Labbé
13e87ad3bd
Parallelize AABB tree traversal
2019-07-18 14:32:56 +02:00
Sébastien Loriot
b1bbcfa81a
add missing reference
2019-07-18 11:48:25 +02:00
Martin Skrodzki
98e92a973b
Introduce an additional stopping criterion to stop in degenerate cases where a triangle is never projected onto a single triangle in the other mesh.
2019-07-18 11:42:16 +02:00
Mael Rouxel-Labbé
3fe52056cf
Do not normalize bisector in most visible vertex computations
2019-07-18 11:19:03 +02:00
Mael Rouxel-Labbé
9d1cec6be6
Fix indentation (cosmetic)
2019-07-18 11:18:52 +02:00
Martin Skrodzki
30b6c70b3b
Add naive and optimized Hausdorff implementation to test file.
2019-07-18 09:56:13 +02:00
Mael Rouxel-Labbé
1954203264
Change comment after tests
2019-07-17 15:22:10 +02:00
Mael Rouxel-Labbé
95982eb36f
Allow source vertex to snap to edges, even if they have been previously snapped
...
The key point is that the splitting point of a (target) halfedge
is assigned the position of the source vertex that breaks this target halfedge.
In other words, if multiple source vertices have the same position, we do
not have to track and move these together because they do not move anyway.
2019-07-17 14:54:41 +02:00
Mael Rouxel-Labbé
348b806d5e
Use some point references to avoid copies
2019-07-17 14:53:57 +02:00
Mael Rouxel-Labbé
a63c10c2cb
Use traits class functors for equality tests
2019-07-17 14:33:47 +02:00
Mael Rouxel-Labbé
0d617400bc
Accelerate AABB tree traversal by passing the tolerance as initial min_dist
2019-07-17 14:29:26 +02:00
Mael Rouxel-Labbé
ead092a62b
Clean useless includes
2019-07-17 14:28:14 +02:00
Martin Skrodzki
313402589a
Bugfix computation of upper bound, should not go below lower bound.
2019-07-15 14:54:52 +02:00
Martin Skrodzki
000604faa9
Comment naive comparison method.
2019-07-15 14:20:15 +02:00
Martin Skrodzki
e78cbff8a1
Implement naive bounded Hausdoff computation by simple subdivision.
2019-07-15 14:12:01 +02:00
Mael Rouxel-Labbé
b39d728f45
Minor doc cleaning
2019-07-15 11:40:46 +02:00
Sébastien Loriot
560c77f567
rename named function parameter class
2019-07-15 06:25:02 +02:00
Sébastien Loriot
cebf0657d8
Use a full CGAL version of named function parameters
...
no longer rely on boost
2019-07-14 22:45:47 +02:00
Martin Skrodzki
519d37d9d7
Use Kernel method instead of computations by hand.
2019-07-12 18:17:24 +02:00