Mael Rouxel-Labbé
4473b907ee
Only call sqrt() once instead of every iteration (Naive Hausdorff)
2022-02-16 16:01:36 +01:00
Mael Rouxel-Labbé
3ea1c754e6
Misc minor fixes / cleaning
2022-02-16 13:03:23 +01:00
Mael Rouxel-Labbé
a0cbf8277d
Reintroduce third stopping condition and tighter subdivision bounds
2022-02-16 13:02:03 +01:00
Jane Tournois
da74c2a4d8
remove unused typedef
2022-02-16 12:17:39 +01:00
Mael Rouxel-Labbé
f8a37c0d6c
Quit as early as possible in TM1 traversal + same mechanism in TM2 traversal
2022-02-15 16:22:28 +01:00
Mael Rouxel-Labbé
3a78f70ac7
Do not consider candidates that have become obsolete
2022-02-15 16:19:54 +01:00
Sébastien Loriot
0469fd35f4
remove unused variable
2022-02-15 16:19:30 +01:00
Jane Tournois
976d10b254
BGLize code about property map and fix compilation with Polyhedron_3
2022-02-15 15:33:42 +01:00
Mael Rouxel-Labbé
2e6b6f7f4c
Fix returning distance with > error_bound error when the distance is small
2022-02-15 13:30:19 +01:00
Jane Tournois
2cc2fab4a2
fix test_autorefinement on Windows by moving back to boost::unordered_map
2022-02-14 14:01:59 +01:00
Mael Rouxel-Labbé
126d07977b
Remove useless check
2022-02-13 21:09:58 +01:00
Mael Rouxel-Labbé
cef8728a2f
Add a convenience macro when no culling is desired (debug)
2022-02-13 21:09:45 +01:00
Mael Rouxel-Labbé
b6d9759964
Do not recompute the bbox of the TM1 triangle at every node of the TM2 tree
2022-02-13 21:05:06 +01:00
Mael Rouxel-Labbé
b5632f719e
Remove unused traits (template) parameter from the traversal classes
2022-02-13 20:49:18 +01:00
Mael Rouxel-Labbé
6acbd74342
Various bound fixes and improvements, add early quitting in TM2 traversal
2022-02-13 20:25:11 +01:00
Mael Rouxel-Labbé
7b9179d08b
Remove broken second stopping condition
...
Projection on the same triangle imply lower = upper bound.
Changing the global bound because there's no reason for a triangle
to be realizing any bound just because its vertices project
onto the same triangle.
2022-02-13 20:11:36 +01:00
Mael Rouxel-Labbé
95de952715
Misc minor fixes
2022-02-13 18:59:59 +01:00
Mael Rouxel-Labbé
5a9f1b21ee
Fix early quitting not quitting as early as it should
2022-02-13 01:01:35 +01:00
Mael Rouxel-Labbé
b829c3744f
Fix bad TM1 culling bound
2022-02-12 21:50:01 +01:00
Mael Rouxel-Labbé
e68f13ff62
Fix bad TM2 culling criterion: (dist <= upper) is sufficient for intersection
2022-02-12 21:49:55 +01:00
Mael Rouxel-Labbé
08ccb7285e
Fix wrongly ordered priority queue yielding wrong upper bounds
2022-02-12 13:52:09 +01:00
Mael Rouxel-Labbé
e12f9febe8
Fix bad initialization
...
get_max_distance() does not yield a good hint for the lower value
Also it requires an extra traversal of the tree.
2022-02-12 01:32:34 +01:00
Mael Rouxel-Labbé
25dc9c0f11
Improve reader sanity (no real changes)
2022-02-11 11:31:17 +01:00
Laurent Rineau
5a6c24446b
Merge pull request #6309 from sloriot/PMP-size_t_FT
...
Avoid std::size_t to FT conversion
2022-02-10 23:00:25 +01:00
Sébastien Loriot
62b54dab3f
workaround MSVC warning
2022-02-09 19:04:45 +01:00
Mael Rouxel-Labbé
61dd3dd0df
Remove some wide 'PMP' namespace declarations
2022-02-09 11:52:36 +01:00
Mael Rouxel-Labbé
e5fda3c613
Tiny doc fixes
2022-02-09 10:29:49 +01:00
Laurent Rineau
b68329fc28
Merge pull request #6299 from MaelRL/PMP-Repair_SI_improvements_2-GF
...
PMP::remove_self_intersections improvements
2022-02-08 23:44:26 +01:00
Laurent Rineau
d78a7b9255
Merge pull request #6302 from afabri/P2T2-assert-GF
...
CGAL: In testcode do not use CGAL_assertion but assert
2022-02-08 23:44:24 +01:00
Sébastien Loriot
3e90db4824
prevent another size_t to FT
2022-02-08 17:00:23 +01:00
Sébastien Loriot
705fee5659
avoid cascading with Lazy
2022-02-07 18:35:07 +01:00
Sébastien Loriot
ba5e5e041c
avoid std::size_t to FT conversion
2022-02-07 09:36:26 +01:00
Sébastien Loriot
4ffc949199
replace boost::unordered by std::unordered
...
but in T3, Mesh_3, TDS_3, P3[TM]3
2022-02-03 19:11:12 +01:00
Andreas Fabri
440a8dfb7b
Fix file name
2022-02-03 08:41:04 +00:00
Sébastien Loriot
77e5beeaca
use features available in std instead of boost
2022-02-03 09:28:52 +01:00
Andreas Fabri
735752bec9
Do the remaining changes after Laurent's check
2022-02-03 08:02:11 +00:00
Mael Rouxel-Labbé
9defc96b33
Better detection of bad patch borders (also check the validity of sub patches)
2022-02-02 13:35:51 +01:00
Mael Rouxel-Labbé
2af6aeb573
Do not mark edges incident to degenerate faces as sharp
2022-02-02 13:34:55 +01:00
Mael Rouxel-Labbé
32823cb36b
Hide some std::cerr behind debug macros
2022-02-02 13:34:21 +01:00
Laurent Rineau
32f8b7fa4d
Merge pull request #6258 from sloriot/PMP-snap_post_cond
...
fix post condition
2022-02-01 08:58:31 +01:00
Sébastien Loriot
685de22277
fixes after merge
2022-01-19 20:50:26 +01:00
Sébastien Loriot
126b78fecf
Merge remote-tracking branch 'sloriot/PMP-relax' into HEAD
2022-01-19 13:50:46 +01:00
Sébastien Loriot
a0c17c8655
fix post condition
2022-01-19 13:21:00 +01:00
Sebastien Loriot
01414393f7
Fix warning
2022-01-18 09:26:05 +01:00
Sébastien Loriot
07e917ca09
Merge remote-tracking branch 'MaelRL/PMP-Improve_SI_repair-GF' into HEAD
2022-01-18 09:18:20 +01:00
Sébastien Loriot
ff77535dd1
add comments about workaround
2022-01-13 14:47:10 +01:00
Sébastien Loriot
10b0af3092
rename macro since Named_function_parameter is part of STL_Extension
2022-01-13 14:43:34 +01:00
Sébastien Loriot
4bbe759f08
Try to please MSVC 2015
2022-01-13 14:25:32 +01:00
Sébastien Loriot
497dbcd44a
try to please MSVC 2015
2022-01-13 14:22:29 +01:00
Sébastien Loriot
99a5e3c8ea
try to please MSVC2015
2022-01-13 14:01:41 +01:00