Laurent Rineau
90e2a876e2
Merge pull request #6931 from MaelRL/PMP-remove_degen_fix_bad_removal-GF
...
Purge to-be-border halfedges from edges-to-collapse sets
2022-10-13 15:17:41 +02:00
Laurent Rineau
b232f4bcfd
Merge pull request #6942 from sloriot/CGAL-header_clean_up
...
Clean up in headers
2022-10-13 15:17:39 +02:00
Laurent Rineau
2b5b4be5d4
Merge pull request #6931 from MaelRL/PMP-remove_degen_fix_bad_removal-GF
...
Purge to-be-border halfedges from edges-to-collapse sets
2022-10-13 15:15:19 +02:00
Andreas Fabri
683805c34a
Isotropic remeshing
2022-10-13 08:06:30 +01:00
Andreas Fabri
32efdd9110
isotropic remeshing
2022-10-13 07:34:43 +01:00
Sébastien Loriot
e27a7f40c9
handle vertices with the same corner id while allowing non-manifold vertices within a patch
2022-10-12 12:55:47 +02:00
Andreas Fabri
341e1167a8
isotropic remeshing
2022-10-12 09:59:35 +01:00
Andreas Fabri
3e90f9ccf7
mesh_smoothing
2022-10-12 09:28:02 +01:00
Andreas Fabri
9bd49632cd
repair_self_intersections
2022-10-12 08:54:56 +01:00
Andreas Fabri
c8df65ebf9
repair_degeneracies
2022-10-12 08:11:12 +01:00
Sébastien Loriot
623a5e0814
we must invalidate face_boundaries to take corner changes into account
2022-10-10 16:44:46 +02:00
Sébastien Loriot
276ddda24c
handle failure in remeshing of patches with multiple meshes
2022-10-07 18:28:58 +02:00
Sébastien Loriot
24aa3200c3
allow patch remeshing to fail
...
in such a case, neighbor patches with an interface that changed are
then marked to be processed again
2022-10-07 17:56:41 +02:00
Sébastien Loriot
e8c5de51b7
remove useless header to directly include the right file
2022-10-06 15:40:05 +02:00
Mael Rouxel-Labbé
60d50a8b57
Fix not purging to-be-border halfedges from edges-to-collapse sets
2022-10-04 22:57:37 +02:00
Mael Rouxel-Labbé
34ea88c73d
Use is_valid_*_descriptor
2022-10-04 22:22:40 +02:00
Mael Rouxel-Labbé
60ecc51ba7
Code cleaning (no real changes)
2022-10-04 20:43:31 +02:00
Laurent Rineau
6538a18044
Merge pull request #6844 from MaelRL/PMP-Complete_array_based_repair_PS-GF
...
Complete array-based polygon soup repair
2022-10-04 13:53:24 +02:00
Laurent Rineau
af3945337b
Merge pull request #6845 from sloriot/PMP-coref_open_mesh_case
...
PMP corefinement: Handle inconsistency with open mesh as input
2022-10-04 13:53:21 +02:00
Laurent Rineau
f0b4b38b9a
Merge pull request #6867 from sloriot/PMP-collision_detection_copy
...
Add default copy constructor and operator=
2022-10-04 13:52:53 +02:00
Laurent Rineau
462eb5eaf3
Merge pull request #6872 from MaelRL/PMP-Fix_keep_LCC-GF
...
Fix dry-run of keep_largest_CCs dumping the wrong faces
2022-10-04 13:52:49 +02:00
Laurent Rineau
a4f6f58e25
Merge pull request #6845 from sloriot/PMP-coref_open_mesh_case
...
PMP corefinement: Handle inconsistency with open mesh as input
2022-10-04 13:50:24 +02:00
Laurent Rineau
23678d0f7d
Merge pull request #6867 from sloriot/PMP-collision_detection_copy
...
Add default copy constructor and operator=
2022-10-04 13:50:18 +02:00
Laurent Rineau
87f16af6e2
Merge pull request #6872 from MaelRL/PMP-Fix_keep_LCC-GF
...
Fix dry-run of keep_largest_CCs dumping the wrong faces
2022-10-04 13:50:15 +02:00
Laurent Rineau
de80833223
Merge pull request #6845 from sloriot/PMP-coref_open_mesh_case
...
PMP corefinement: Handle inconsistency with open mesh as input
2022-10-04 13:48:16 +02:00
Laurent Rineau
ff2bab36b0
Merge pull request #6867 from sloriot/PMP-collision_detection_copy
...
Add default copy constructor and operator=
2022-10-04 13:48:11 +02:00
Mael Rouxel-Labbé
9e0a71f7ad
Actually cube the threshold value for the volume bound
2022-09-28 13:50:43 +02:00
albert-github
17a84db90e
Some obvious missing quotes
...
Some obvious missing quotes (last set)
2022-09-25 18:00:08 +02:00
Mael Rouxel-Labbé
363d1daaef
Some more conversions to non-package specific assertions
2022-09-23 15:20:24 +02:00
Mael Rouxel-Labbé
f27428c4d9
Improve tests for PMP::keep_large(st)_CC()
2022-09-23 14:54:15 +02:00
Mael Rouxel-Labbé
e51bafbfbe
Fix dry-run of keep_largest_CCs dumping the wrong faces
2022-09-23 14:53:36 +02:00
Sébastien Loriot
495f2e316a
add default copy constructor and operator=
2022-09-21 18:59:18 +02:00
Sébastien Loriot
d084d9396f
ignore new test for clipping
2022-09-14 10:35:23 +02:00
Sébastien Loriot
6f509a02ad
handle inconsistency of classification due to non-closed meshes
2022-09-13 17:19:06 +02:00
Sébastien Loriot
d7426630ea
set stream precision to the max
2022-09-13 14:33:23 +02:00
Mael Rouxel-Labbé
008227757b
Remove traits from polygon hasher's parameters
2022-09-13 13:24:54 +02:00
Mael Rouxel-Labbé
e37487e6b2
Fix some internal function documentation
2022-09-13 13:24:28 +02:00
Laurent Rineau
8dd8e0dd11
Merge pull request #6812 from sloriot/PMP-split_visitor
...
add missing visitor calls in PMP::split()
2022-09-13 12:33:01 +02:00
Laurent Rineau
7d5e498538
Merge pull request #6812 from sloriot/PMP-split_visitor
...
add missing visitor calls in PMP::split()
2022-09-13 12:32:17 +02:00
Mael Rouxel-Labbé
6cdf3f256f
Complete array-based polygon soup reparation: remove more invalid faces
2022-09-13 11:14:33 +02:00
Sébastien Loriot
ce1bb34d65
add missing visitor calls in split
2022-08-28 22:08:45 +02:00
Laurent Rineau
d49ee20965
Merge pull request #6665 from sloriot/CGAL-std_type_traits
2022-08-17 13:56:54 +02:00
Sebastien Loriot
d64d243bf5
Merge pull request #6772 from sloriot/PMP-remove_caps_needles_doc
...
Document remove_almost_degenerate_faces()
2022-08-10 18:31:52 +02:00
Sebastien Loriot
beb57433c4
Apply suggestions from code review
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-08-04 10:30:02 +02:00
Sébastien Loriot
861588abe1
Merge 'sloriot/CGAL-std_type_traits' into master
2022-08-03 20:19:51 +02:00
Sébastien Loriot
d04f42c3b1
Merge remote-tracking branch 'cgal/5.5.x-branch'
2022-08-01 15:53:56 +02:00
Sébastien Loriot
3c24a79336
Merge pull request #6773 from janetournois/PMP-relaxation_avoid_global_function-jtournois
...
PMP::tangential_relaxation() - avoid using global function barycenter()
2022-08-01 15:52:31 +02:00
Sébastien Loriot
403c1ed975
Merge remote-tracking branch 'cgal/5.4.x-branch' into HEAD
2022-08-01 15:51:53 +02:00
Jane Tournois
c6bc71b254
use construct_midpoint_3_object() instead of CGAL::midpoint()
2022-07-28 15:51:56 +02:00
Jane Tournois
d7d439fc48
use construct_barycenter_3_object() instead of CGAL::barycenter()
2022-07-28 14:37:02 +01:00
Sébastien Loriot
f075a3ee1e
add missing Ref
2022-07-27 15:48:23 +02:00
Sébastien Loriot
70b7c627db
improve doc
2022-07-26 16:42:24 +02:00
Sébastien Loriot
e660b2dd1d
fix copy/paste error and use double for parameters to be compatible
...
with predicates
2022-07-26 15:55:52 +02:00
Sébastien Loriot
5f72bbd623
more doc fixes
2022-07-26 15:48:12 +02:00
Sébastien Loriot
f7358a0a0d
fix typos in doc
2022-07-26 15:34:21 +02:00
Sébastien Loriot
b1ee7ba78e
move outside experimental namespace with a better API and doc
2022-07-26 15:06:49 +02:00
Simon Lopez
102f6fc0fb
Improve PMP::split documentation
2022-07-19 16:52:42 +02:00
Sébastien Loriot
9c06085dd0
Merge remote-tracking branch 'cgal/5.5.x-branch'
2022-07-12 18:23:13 +02:00
Sébastien Loriot
1e857506c1
Merge remote-tracking branch 'cgal/5.5.x-branch'
2022-07-12 18:22:02 +02:00
Sébastien Loriot
12795ba29c
Merge remote-tracking branch 'cgal/5.4.x-branch' into HEAD
2022-07-12 18:21:16 +02:00
Sébastien Loriot
cc50e4464c
update to new NP macro name
2022-07-11 13:24:20 +02:00
Sébastien Loriot
8f09664aeb
Merge remote-tracking branch 'MaelRL/PMP-Fix_stitch_NP' into 5.5-x-branch
2022-07-11 13:21:54 +02:00
Sébastien Loriot
e18878f5a0
Merge remote-tracking branch 'cgal/5.5.x-branch'
2022-07-08 20:28:04 +02:00
Mael Rouxel-Labbé
70143a6304
Complete PMP::stitch_borders documentation (geom traits added to the NPs)
2022-07-07 16:51:19 +02:00
Mael Rouxel-Labbé
9c95b2ccb1
Add proper traits usage to PMP::stitch_borders
2022-07-07 16:51:04 +02:00
Sébastien Loriot
b25217ed53
remove unused typedef
2022-07-07 13:42:37 +02:00
Sébastien Loriot
ceb8ca70ef
fix warning
2022-07-05 14:03:38 +02:00
Mael Rouxel-Labbé
3be8469277
Move build into 'internal' namespace
2022-07-04 11:41:44 +02:00
Mael Rouxel-Labbé
1d47a29224
Add an overload of repair_polygon_soup for array-based soups
...
which does not call functions that are meaningless for ranges
of fixed size faces
2022-07-04 11:41:44 +02:00
Mael Rouxel-Labbé
a691eeff97
Rewrite merge_duplicate_points_in_polygon_soup() without container.insert(...)
2022-07-04 11:41:44 +02:00
Sébastien Loriot
49ca357d49
Merge remote-tracking branch 'cgal/5.5.x-branch'
2022-07-04 10:53:00 +02:00
Sébastien Loriot
a4e53600c1
Merge remote-tracking branch 'cgal/5.4.x-branch'
2022-07-04 10:52:16 +02:00
Sebastien Loriot
d218b32cf9
Merge pull request #6639 from sloriot/PMP-clip_deg_faces
...
Handle deg faces in clip with allow_self_intersections
2022-07-04 10:48:30 +02:00
Sebastien Loriot
6d6791456a
Merge pull request #6711 from sloriot/CGAL-constexpr
...
Add some constexpr for constant functions
2022-07-04 10:48:08 +02:00
Sebastien Loriot
b0a4263eb6
Merge pull request #6713 from sloriot/PMP-radf_no_nm_vertices
...
Avoid creating border non-manifold vertices
2022-07-04 10:47:04 +02:00
Sébastien Loriot
96d2f9ec5e
unused variable
2022-06-29 13:10:20 +02:00
Sébastien Loriot
707b45cb5b
Merge remote-tracking branch 'cgal/5.5.x-branch'
2022-06-29 10:48:00 +02:00
Sébastien Loriot
373deccfb6
constexpr function requires even parameters to be LiteralType
2022-06-29 10:36:34 +02:00
Laurent Rineau
42e993c7da
Merge pull request #6587 from afabri/PMP-triangle-GF
...
PMP::Add function triangle(face_descriptor, tmesh)
2022-06-29 09:52:19 +02:00
Laurent Rineau
317cc6c17f
Merge pull request #6669 from sloriot/PMP-dbav_attention
...
Better doc + early quit
2022-06-29 09:50:45 +02:00
Laurent Rineau
7f43d3b095
Merge pull request #6669 from sloriot/PMP-dbav_attention
...
Better doc + early quit
2022-06-29 09:42:00 +02:00
Laurent Rineau
499b7794c9
Merge pull request #5693 from janetournois/Mesh_data_structure_3-new_package-jtournois
...
SMDS_3: Mesh_data_structure_3 - new package for C3T3
2022-06-29 09:14:38 +02:00
Sébastien Loriot
678b9d8148
add some constexpr for constant functions
2022-06-28 16:49:05 +02:00
Sébastien Loriot
3283fd0b37
handle coplanar intersection of degenerate faces
2022-06-27 18:52:53 +02:00
Sébastien Loriot
1bc8b294f8
avoid creating border non-manifold vertices
2022-06-24 13:30:53 +02:00
Sébastien Loriot
c9c6b30cf0
Merge sloriot/CGAL-std_type_traits into master
2022-06-23 16:35:37 +02:00
Sébastien Loriot
d59492933c
make to_exact static
2022-06-22 16:56:51 +02:00
Sébastien Loriot
fb0cb2b95d
handle triangle with null edges and with an edge coplanar to a triangle
2022-06-21 17:58:13 +02:00
Sébastien Loriot
b66d3a0784
avoid adding twice the same edge
2022-06-21 17:37:22 +02:00
Sébastien Loriot
28e8895998
algorithm to triangulate degenerate faces
2022-06-20 18:56:55 +02:00
Sébastien Loriot
a7667b43f9
lazy degenerate checks
...
only if throw_on_self_intersection is set or for corefine/clip
with possibly self_intersections
2022-06-16 16:48:28 +02:00
Sébastien Loriot
87b3866e1c
early exit when we reached the last level of the hierarchy
2022-06-15 17:28:35 +02:00
Laurent Rineau
cefa3d9d80
Merge pull request #6648 from sloriot/PMP-do_not_flip_high_triangles
...
Add an option to a remove_almost_degenerate_faces
2022-06-15 10:20:53 +02:00
Laurent Rineau
85ba0e44e4
Merge pull request #6656 from lrineau/PMP-fix_missing_header-GF
...
PMP.repair_polygon_soup.h: add #include <deque>
2022-06-15 10:20:46 +02:00
Laurent Rineau
378685ddd2
Merge pull request #6648 from sloriot/PMP-do_not_flip_high_triangles
...
Add an option to a remove_almost_degenerate_faces
2022-06-15 10:19:02 +02:00
Laurent Rineau
97bc6192b9
Merge pull request #6656 from lrineau/PMP-fix_missing_header-GF
...
PMP.repair_polygon_soup.h: add #include <deque>
2022-06-15 10:18:55 +02:00
Sébastien Loriot
1f8cf134da
add a warning
2022-06-15 10:03:51 +02:00
Sébastien Loriot
37580e9daf
missing () in macro + typo fixes
2022-06-14 11:24:21 +02:00
Laurent Rineau
c132b6a11e
Merge remote-tracking branch 'cgal/master' into Mesh_data_structure_3-new_package-jtournois
2022-06-13 16:26:34 +02:00
Laurent Rineau
a9b4bf3ffb
Merge pull request #6635 from sloriot/PMP-split_long_edges_np
...
Add face_patch_map to split_long_edges
2022-06-10 16:45:37 +02:00
Sébastien Loriot
3fa436459d
BOOST_MPL_ASSERT -> static_assert
2022-06-10 08:46:01 +02:00
Sébastien Loriot
ac8b6d4731
boost::is_same --> std::is_same
2022-06-10 08:18:20 +02:00
Sébastien Loriot
4f5f8341cc
use std::enable_if_t
2022-06-10 07:37:53 +02:00
Sébastien Loriot
eee363df27
Merge cgal/master
2022-06-08 23:23:07 +02:00
Sébastien Loriot
5746e59b34
Merge cgal/master
2022-06-08 23:13:25 +02:00
Jane Tournois
abdf1bce22
Meael's review
2022-06-08 22:53:18 +02:00
Sébastien Loriot
c8cbbbfb1d
Merge cgal/master
2022-06-08 22:49:25 +02:00
Sébastien Loriot
5e124e5d5f
Merge cgal/master
2022-06-08 22:43:17 +02:00
Sébastien Loriot
f0fc06b998
Merge cgal/master
2022-06-08 22:10:34 +02:00
Jane Tournois
04c0f8ae6c
fix compilation of surf_io_plugin
2022-06-08 22:01:46 +02:00
Sébastien Loriot
920c35c30e
Merge cgal/master
2022-06-08 21:56:39 +02:00
Jane Tournois
57439c0235
wip : transfer surface patch indices from c3t3 to Surface_mesh
...
in export_facets_in_complex()
2022-06-08 21:46:52 +02:00
Laurent Rineau
f8f48f262d
Add #include <deque>
2022-06-08 16:10:29 +02:00
Sébastien Loriot
6869bddeaa
add a named parameter to avoid flipping high triangles
2022-06-07 16:29:16 +02:00
Sébastien Loriot
28fc05cf76
workaround handle degenerate triangles and duplicated nodes in clip
2022-06-02 19:28:54 +02:00
Sébastien Loriot
7b77db9d8d
set up patch id
2022-06-01 15:25:59 +02:00
Sébastien Loriot
cb3393788f
add face_patch_map to split_long_edges
2022-06-01 11:38:55 +02:00
Andreas Fabri
54f0da6249
Fix typo
2022-05-31 14:40:49 +01:00
Sébastien Loriot
7000bf00a9
add missing doc
2022-05-26 17:56:36 +02:00
Sébastien Loriot
c78c323d08
check for all kinds of degenerate faces
2022-05-23 18:01:43 +02:00
Sébastien Loriot
43c6c8a6aa
remove unused typedef
2022-05-23 18:00:37 +02:00
Sébastien Loriot
9baff6f6d2
clean up
2022-05-23 18:00:36 +02:00
Sébastien Loriot
afbfa1e3d7
add code to avoid creating degenerate triangles
2022-05-23 18:00:34 +02:00
Sebastien Loriot
3a64aef083
Fix working
2022-05-23 17:57:56 +02:00
Sébastien Loriot
ca2362629c
get rid of the removed halfedges
2022-05-23 17:57:56 +02:00
Sébastien Loriot
38135b884f
be more permissive with orient
2022-05-23 17:57:49 +02:00
Andreas Fabri
ee0df2c47f
PMP::Add function triangle(face_descriptor, tmesh) returning a Triangle_3
2022-05-16 16:08:33 +01:00
Sebastien Loriot
709f123256
Merge pull request #6461 from afabri/Box_intersection-progress-GF
...
Fast Box Intersection: Add progress tracking
2022-05-13 17:22:43 +02:00
Sébastien Loriot
7bf54e9de1
Merge pull request #6450 from afabri/PMP-hole_filling_progress-GF
...
PMP::triangulate_hole(): Add Visitor
2022-05-13 17:20:26 +02:00
Sebastien Loriot
8b5c57e225
Merge pull request #6537 from MaelRL/PMP-Approximate_Hausdorff_empty_meshes-GF
...
Fix GT/VPM usage in approximate Hausdorff distance computations
2022-05-13 15:51:12 +02:00
Sébastien Loriot
083edccc39
remove verbose flag
2022-05-13 09:35:52 +02:00
Sébastien Loriot
880ece7faa
avoid empty map case
2022-05-12 10:06:42 +02:00
Sébastien Loriot
51d525778a
fixes after review
2022-05-11 17:48:24 +02:00
Sébastien Loriot
f966d9b0b9
more uniform naming scheme
2022-05-10 17:58:54 +02:00
Sébastien Loriot
7fdc5da83d
add doc + renaming
2022-05-10 17:41:42 +02:00
Sébastien Loriot
a8621f370a
clean up and add more visitor calls
2022-05-10 15:07:10 +02:00
Andreas Fabri
d01fa7bddd
int -> std::size_t
2022-05-10 07:16:14 +01:00
Andreas Fabri
aef14430b6
typos
2022-05-06 14:55:37 +01:00
Laurent Rineau
90accc92ea
Merge pull request #6499 from MaelRL/STL-Merge_is_defaults-GF
...
Merge parameters::Is_default and parameters::is_default_parameter
2022-05-06 14:22:02 +02:00
Sébastien Loriot
91cb65b0c2
add np doc
2022-05-05 14:22:30 +02:00
Sébastien Loriot
531ab922b4
add visitor calls for refine and fair phases
2022-05-05 14:16:53 +02:00
Sébastien Loriot
95f3850a73
improve doc
2022-05-05 13:48:07 +02:00
Sébastien Loriot
b940f47cff
handle case of duplicate vertices
2022-05-03 16:05:19 +02:00
Mael
4d9c7cd49a
Remove superfluous assertion
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-05-02 14:07:09 +02:00
Mael Rouxel-Labbé
7b12171671
Do not take references to potential temporary objects
2022-04-29 17:15:52 +02:00
Mael Rouxel-Labbé
0535203605
Clarify requirements of PMP/distance.h functions (non-empty ranges/TMs)
2022-04-29 16:23:52 +02:00
Mael Rouxel-Labbé
daddb6416a
Fix not properly using GeomTraits / VertexPointMap in approx. Hausdorff
2022-04-29 16:19:14 +02:00
Sébastien Loriot
ec53e0a8dd
avoid spamming the console if CERES is not available
2022-04-21 06:51:12 +02:00
Sébastien Loriot
a0a3c1fa24
fix warning
2022-04-20 21:10:34 +02:00
Mael Rouxel-Labbé
052d24083a
Fix compilation issue caused by wrong template parameter order
2022-04-20 19:44:10 +02:00
Mael Rouxel-Labbé
477353d5eb
Merge parameters::Is_default and parameters::is_default_parameter
2022-04-20 16:01:02 +02:00
Andreas Fabri
b04c6bf39b
fix typo
2022-04-20 13:40:51 +01:00
Andreas Fabri
734e284af1
int -> std::size_t
2022-04-20 13:05:54 +01:00
Laurent Rineau
2ecf1b64f8
Merge pull request #6212 from sloriot/PMP-patch_compatible_orientation
...
Add function bitset orientation compatible patches
2022-04-12 16:35:14 +02:00
Laurent Rineau
2b9305698d
Merge pull request #6466 from MaelRL/PMP-Hausdorff_more_bug_fixes-GF
...
PMP: more bounded Hausdorff fixes
2022-04-12 16:35:09 +02:00
Andreas Fabri
144fed2be4
Fix \cgalParamType
2022-04-12 08:51:12 +01:00
Andreas Fabri
91e2e24d30
Add documentation
2022-04-11 16:43:42 +01:00
Andreas Fabri
d6e6ce9dfb
Add progress tracking of the planar algorithm
2022-04-11 16:00:05 +01:00
Sébastien Loriot
2093e60645
fixes after review
2022-04-11 15:43:08 +02:00
Mael Rouxel-Labbé
cb9cf1d0e3
Add some debug info
2022-04-08 13:29:57 +02:00
Mael Rouxel-Labbé
720c52f00a
Do not miss global_bounds.upper updates by not pushing subdivide faces into PQ
2022-04-08 13:28:04 +02:00
Mael Rouxel-Labbé
898382be0f
Fix unused warning
2022-04-08 13:27:52 +02:00
Laurent Rineau
a4f4c276f3
Merge branch 'master' into PMP-patch_compatible_orientation
2022-04-07 21:56:38 +02:00
Mael Rouxel-Labbé
ac8755df07
Remove assertion that can sometimes fail due to numerical errors
2022-04-07 11:41:38 +02:00
Mael Rouxel-Labbé
699c0aae9c
Do not pollute the queue with meaningless triangles
2022-04-07 11:41:15 +02:00
Mael Rouxel-Labbé
c38758db66
Replace custom stop criterion with paper's
2022-04-07 11:40:56 +02:00
Mael Rouxel-Labbé
aa5fd2e0ce
Switch back to non-squared values for comparisons
2022-04-07 11:40:30 +02:00
Sébastien Loriot
f69dbcc893
mesh is const
...
thanks @lrineau
2022-04-07 09:59:44 +02:00
Sébastien Loriot
599d77cb8e
remove const& to avoid confusion
2022-04-06 18:56:28 +02:00
Sébastien Loriot
3c3995e54d
clean up and add doc
2022-04-06 18:01:57 +02:00
Sébastien Loriot
c9b7b76a81
remove unused lambda
2022-04-06 16:16:27 +02:00
Sébastien Loriot
0d87e44327
new function indicating orientation constraint of connected components in a mesh
2022-04-06 16:16:25 +02:00
Laurent Rineau
fd75e5ab12
Merge pull request #5979 from sloriot/PMP-relax
...
Extract tangential relaxation from isotropic_remeshing
# Conflicts:
# Installation/CHANGES.md
2022-04-06 09:13:56 +02:00
Mael
30e0a5d021
Restore consistency between bounds and candidates queue
2022-04-05 16:43:29 +02:00
Mael Rouxel-Labbé
6fcc5f64a5
Do not .top() an empty queue
2022-04-04 15:50:41 +02:00
Mael Rouxel-Labbé
14a9abcca6
Fix assertion: global lbound is init. w/ the initial bound, not the error bound
2022-04-04 15:50:15 +02:00
Mael Rouxel-Labbé
f46d4d1fae
Do not add triangles that cannot realize the distance to the priority queue
2022-04-04 15:50:07 +02:00
Mael Rouxel-Labbé
bd29b976f5
Use tighter initialization during computation of subdivided faces' local bounds
2022-04-04 15:49:54 +02:00
Mael Rouxel-Labbé
fe21d98345
Improve Hausdorff distance debug code + more assertions
2022-04-04 15:49:45 +02:00
Laurent Rineau
2659228efa
Merge pull request #5983 from MaelRL/PMP-Shape_predicates_with_predicates-GF
...
Filter the needle/cap predicates of PMP::shape_predicates.h
2022-03-31 16:58:07 +02:00
Laurent Rineau
fd6451e452
Merge pull request #6460 from CGAL/afabri-patch-2
...
PMP: Avoid link in documentation with a %
2022-03-31 16:57:56 +02:00
Sébastien Loriot
0d2b1cbc57
add missing endcond
2022-03-31 16:50:40 +02:00
Sébastien Loriot
1dd4b8462f
Merge remote-tracking branch 'sloriot/PMP-relax'
2022-03-31 16:47:06 +02:00
Andreas Fabri
9f8897b84a
Move the counting step as we currently also count the last recursive call which does nothing
2022-03-31 13:10:02 +01:00
Laurent Rineau
dc6b0835b1
Merge pull request #6441 from sloriot/PMP-rncc_call_measure
...
PMP repair: Avoid large DAG when using Lazy
2022-03-30 16:43:10 +02:00
Laurent Rineau
d68488daea
Merge pull request #6441 from sloriot/PMP-rncc_call_measure
...
PMP repair: Avoid large DAG when using Lazy
2022-03-30 16:42:57 +02:00
Andreas Fabri
591c065bcb
merge master
2022-03-30 15:21:51 +01:00
Andreas Fabri
709a1c7da5
Add callbacks to Default_surface_intersection_visitor
2022-03-30 14:57:29 +01:00
Andreas Fabri
0afbfc9c65
Improve reporting
2022-03-30 14:17:58 +01:00
Andreas Fabri
ef19ead48a
Add visitors for coplanar faces and build_output
2022-03-30 11:42:24 +01:00
Andreas Fabri
0d1042a841
Add callbacks to Default_visitor
2022-03-30 10:06:57 +01:00
Mael Rouxel-Labbé
4045d1265c
Merge remote-tracking branch 'cgal/master' into PMP-Shape_predicates_with_predicates-GF
2022-03-30 10:41:40 +02:00
Mael Rouxel-Labbé
d9d983b2de
Remove unused typedefs and variables
2022-03-30 10:32:40 +02:00
Andreas Fabri
11de847009
Progress tracking of the triangulation step
2022-03-30 09:30:44 +01:00
Sébastien Loriot
763c5e99f4
Merge pull request #6190 from MaelRL/gsoc2021-Surface_mesh_simplification-probabilistic-komaromy
...
Probabilistic surface mesh simplification
2022-03-30 08:05:20 +02:00
Sébastien Loriot
010bcfc27b
Merge pull request #6389 from MaelRL/PMP-Doc_smoothing-GF
...
PMP doc fixes and enhancements
2022-03-30 08:03:50 +02:00
Sébastien Loriot
3a03201ff1
Merge pull request #6338 from MaelRL/PMP-Orient_PS_with_PS-GF
...
Add orient_triangle_soup_with_reference_triangle_soup()
2022-03-30 08:03:29 +02:00
Andreas Fabri
6873b3418d
Fix API of Default visitor
2022-03-29 17:36:04 +01:00
Andreas Fabri
28fa5ecd2b
Fix API of Default visitor
2022-03-29 17:17:26 +01:00
Andreas Fabri
8bf1b630d9
Add progress tracking to corefinement
2022-03-29 16:55:03 +01:00
Sébastien Loriot
f6f158a121
fix confusing namespace
2022-03-29 15:15:54 +02:00
Sebastien Loriot
f4327cb289
use helper function
2022-03-29 15:09:56 +02:00
Andreas Fabri
3fd0a03cfb
Update corefinement.h
2022-03-29 12:04:59 +02:00
Sebastien Loriot
8286dcbcb0
Improve wording
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-03-29 08:24:22 +02:00
Andreas Fabri
2c07eaf6fe
Add progress tracking for the quadratic phase
2022-03-25 14:18:24 +01:00
Andreas Fabri
81e85bc908
fixes
2022-03-24 18:00:12 +01:00
Andreas Fabri
9e3a36cde6
Real progress
2022-03-24 17:12:45 +01:00
Andreas Fabri
8132fad631
Add parameter to functions inside an #if 0 block
2022-03-24 13:51:49 +01:00
Mael Rouxel-Labbé
7f44a15a7a
Clean comment
2022-03-24 12:43:30 +01:00
Andreas Fabri
d1ba40e21c
Remove template parameter
2022-03-24 12:37:29 +01:00
Mael Rouxel-Labbé
115f3d202e
Merge remote-tracking branch 'cgal/master' into PMP-Shape_predicates_with_predicates-GF
2022-03-24 12:31:01 +01:00
Andreas Fabri
679897a755
PMP::triangulate_hole(): Add Visitor as template parameter and as parameter
2022-03-24 12:05:14 +01:00
Sébastien Loriot
b56027ba42
typo
2022-03-24 09:07:00 +01:00
Sébastien Loriot
7ab2c079b3
add an option to forbid some moves
2022-03-23 23:53:00 +01:00
Sébastien Loriot
1b5632fcdc
do not care a ref as it will be update to the new position
2022-03-23 22:56:23 +01:00
Sébastien Loriot
dbe2cda538
fix compilation issue
2022-03-23 22:41:29 +01:00
Sébastien Loriot
689da92ae4
Merge remote-tracking branch 'PMP-relax' into master
2022-03-23 22:09:20 +01:00
Mael Rouxel-Labbé
d5b51a84ef
PMP misc spring cleaning
2022-03-23 18:39:31 +01:00
Sébastien Loriot
b56b36815f
use initial version with additional calls to exact
...
dealing with a custom mesh vpm in FFG is not simple +
it is not optimal to traverse all the faces for each
connected component
2022-03-21 11:31:12 +01:00
Sébastien Loriot
8186023fba
forgot about area per cc
2022-03-21 10:44:21 +01:00
Sébastien Loriot
ff5ae14d8d
remove unused variables
2022-03-21 08:54:34 +01:00
Sébastien Loriot
3b77d101ef
cc_volume should be positive
2022-03-21 07:15:00 +01:00
Sébastien Loriot
302a2707ea
use PMP functions (already dealing with Lazy calls)
2022-03-21 07:11:41 +01:00
Mael Rouxel-Labbé
57704eea95
Make point range 'const'
2022-03-15 13:06:49 +01:00
albert-github
bea89479f5
Polygon_mesh_processing: Missing end command for cgalParam
...
A `\cgalParamEnd` was missing, resulting in an incorrect sequence of HTML tags.
2022-03-15 10:59:59 +01:00
Mael Rouxel-Labbé
62f784357e
Document double named parameters + doc fixes
2022-03-15 10:44:34 +01:00
Mael Rouxel-Labbé
97979d4cb2
Complete the named parameters of orient_PS_with_reference + proper traits usage
2022-03-15 10:44:04 +01:00
Mael
d9eb5eb3d9
Apply suggestions from @sloriot review
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-03-15 09:20:40 +01:00
Mael Rouxel-Labbé
c66e1275a8
Fix bad parameter name in documentation
2022-03-15 00:49:12 +01:00
Mael Rouxel-Labbé
f73cebe997
Misc cleaning
2022-03-15 00:07:23 +01:00
Mael Rouxel-Labbé
a6e62f43f0
Fix point map usage and document orient_TS_with_reference_TS
2022-03-15 00:07:04 +01:00
Mael Rouxel-Labbé
f8215a1858
Merge remote-tracking branch 'cgal/master' into PMP-Orient_PS_with_PS-GF
2022-03-14 23:32:51 +01:00
Mael Rouxel-Labbé
d3239dee82
tm_ref is const, TriangleMesh does not need to be mutable
2022-03-14 23:29:14 +01:00
Mael Rouxel-Labbé
34c91aba5f
Merge remote-tracking branch 'cgal/master' into gsoc2021-Surface_mesh_simplification-probabilistic-komaromy
2022-03-14 20:55:23 +01:00
Laurent Rineau
208b286457
Merge pull request #6380 from sloriot/PMP-hole_filling_skip_cubic_search_space
...
PMP hole filling: Add an option to only use Delaunay based versions
2022-03-10 11:05:30 +01:00
Laurent Rineau
5b16fb761a
Merge pull request #5624 from sloriot/PMP-autoref_epick_point_update
...
Handle the update of points for autorefinement
2022-03-09 11:35:26 +01:00
Laurent Rineau
25b6d76737
Merge pull request #6370 from MaelRL/PMP-Fix_NP_forwarding_in_degen_removal-GF
...
Fix not using / forwarding traits
2022-03-09 11:35:20 +01:00
Laurent Rineau
6e10413fee
Merge pull request #6370 from MaelRL/PMP-Fix_NP_forwarding_in_degen_removal-GF
...
Fix not using / forwarding traits
2022-03-09 11:33:24 +01:00
Laurent Rineau
5dfbb0f140
Merge pull request #6370 from MaelRL/PMP-Fix_NP_forwarding_in_degen_removal-GF
...
Fix not using / forwarding traits
2022-03-09 11:29:05 +01:00
Mael Rouxel-Labbé
712f3a66ac
Fix \sa in PMP::IO::read_PM
2022-03-08 10:00:44 +01:00
Mael Rouxel-Labbé
dff0dd4de5
Shape predicates are in the predicates group
2022-03-08 09:59:03 +01:00
Mael Rouxel-Labbé
0e5e57bc6f
Fix using old label
2022-03-08 09:48:57 +01:00
Mael Rouxel-Labbé
bb0b9a8b5a
PMP doc fixes and enhancements
2022-03-07 15:32:37 +01:00
Andreas Fabri
f989921624
PMP: Doc Indexation -> Indexing
...
https://en.wikipedia.org/wiki/Indexation
2022-03-05 17:28:38 +01:00
Sébastien Loriot
7d17b22a7c
add an option to only use Delaunay based versions
2022-03-04 07:05:05 +01:00
Laurent Rineau
f1a71f2f6e
Merge pull request #6335 from MaelRL/PMP-Bounded_Hausdorff_Distance_Fix-GF
...
Fixes for bounded Hausdorff computations
2022-03-02 15:13:53 +01:00
Laurent Rineau
8abc9251c3
Merge pull request #6352 from sloriot/PMP-null_vertor_hole_filling_2D
...
ignore CDT2 if normal is null
2022-03-02 15:13:51 +01:00
Laurent Rineau
e855b2738e
Merge pull request #6352 from sloriot/PMP-null_vertor_hole_filling_2D
...
ignore CDT2 if normal is null
2022-03-02 15:13:16 +01:00
Sébastien Loriot
1480bbbf2b
update function names + handle non-manifold corefinement
2022-03-02 14:51:15 +01:00
Sébastien Loriot
25b0b8af9c
handle the update of approximate coordinates of vertices for autorefinement
...
still have to find a similar way for non-manifold edges and corefine
2022-03-02 11:07:47 +01:00
Mael Rouxel-Labbé
cc0f3493d5
Fix not using/fwing traits
2022-03-01 22:03:39 +01:00
Erwan Jacq
da936f5b8b
pedantic changes
2022-02-25 11:39:02 +01:00
Laurent Rineau
258d704a90
Merge pull request #6209 from sloriot/PMP-std_instead_of_boost
...
Use features available in std instead of boost
2022-02-24 19:57:17 +01:00
Laurent Rineau
db90fb897e
Merge pull request #6348 from sloriot/PMP-autoref_no_fix_if_no_split
...
Never try to fix when a polyline does not split a patch
2022-02-24 19:57:15 +01:00
Sébastien Loriot
74acb888ca
ignore CDT2 is normal is null
2022-02-24 14:05:40 +01:00
Laurent Rineau
86aab13ae9
Merge pull request #6339 from MaelRL/PMP-Close_stitching_with_EPECK-GF
...
Make collect_close_stitchable_boundary_edges() compatible with EPECK
2022-02-24 09:49:43 +01:00
Laurent Rineau
ba0053461f
Merge pull request #6344 from sloriot/CGAL-static_constexpr
...
Add missing static keyword
2022-02-24 09:49:38 +01:00
Laurent Rineau
eb86d35ab0
Merge pull request #6344 from sloriot/CGAL-static_constexpr
...
Add missing static keyword
2022-02-24 09:44:47 +01:00
Mael Rouxel-Labbé
064d5934d4
Remove unused typedef
2022-02-23 20:30:23 +01:00
Sébastien Loriot
aaac9204f9
use cdt exception to detect issues with constraints
2022-02-23 13:28:31 +01:00
Mael
b644da486d
Add missing include
2022-02-23 11:59:43 +01:00
Sébastien Loriot
f7eeca53de
Revert "fix test_autorefinement on Windows by moving back to boost::unordered_map"
...
This reverts commit 2cc2fab4a2 .
2022-02-23 11:18:00 +01:00
Sébastien Loriot
e0f3051f95
never try to fix when a polyline does not split a patch
2022-02-23 11:13:22 +01:00
Laurent Rineau
191ef83ee3
Merge pull request #6322 from janetournois/PMP-bglize_repair-jtournois
...
PMP - BGLize repair code
2022-02-22 18:24:43 +01:00
Mael Rouxel-Labbé
8587f5ffe6
Fix assertion
2022-02-22 15:56:32 +01:00
Sébastien Loriot
6f6bd08e2e
add missing static keyword
2022-02-22 12:42:41 +01:00
Mael Rouxel-Labbé
4e2e194ca4
Make collect_close_stitchable_boundary_edges() compatible with EPECK
2022-02-21 11:03:19 +01:00
Mael Rouxel-Labbé
2b33b3ec73
Add orient_triangle_soup_with_reference_triangle_soup()
2022-02-21 10:12:51 +01:00
Mael Rouxel-Labbé
717f01e35d
Add precondition
2022-02-21 10:05:53 +01:00
Mael Rouxel-Labbé
05da44130a
Fix grammar
2022-02-18 16:34:34 +01:00
Mael Rouxel-Labbé
632929bd70
Minor tweak to exiting criterion
2022-02-18 16:34:14 +01:00
Mael Rouxel-Labbé
fddbd13272
Don't do anything if the user-defined distance bound is 0
2022-02-18 16:11:55 +01:00
Mael Rouxel-Labbé
906a2c911e
Misc minor fixes & cleaning
2022-02-18 16:11:41 +01:00
Mael Rouxel-Labbé
18541fd29a
Various fixes for bounds and realizing triangle pairs
2022-02-18 16:10:58 +01:00
Mael Rouxel-Labbé
e10bda5d27
Manipulate squared distances to avoid many sqrts
2022-02-18 16:09:15 +01:00
Laurent Rineau
fb764adef8
Merge branch '5.3.x-branch' into 5.4.x-branch
2022-02-18 15:23:34 +01:00
Laurent Rineau
c8273a1135
Merge pull request #6311 from MaelRL/PMP-HD_doc-GF
...
Tiny doc fixes for PMP Hausdorff distance functions
2022-02-18 11:43:43 +01:00
Laurent Rineau
7d4c637472
Merge pull request #6312 from MaelRL/PMP-Remove_PMP_namespace_def-GF
...
Remove some wide 'PMP' namespace declarations
2022-02-18 11:43:40 +01:00
Mael Rouxel-Labbé
d638859698
Remove unused atomic variable
2022-02-17 12:36:27 +01:00
Mael Rouxel-Labbé
25f7ee501d
Fix missing sqrt in triangle sampling
2022-02-17 11:16:36 +01:00
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