Commit Graph

4048 Commits

Author SHA1 Message Date
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
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
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
Sébastien Loriot ce1bb34d65 add missing visitor calls in split 2022-08-28 22:08:45 +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 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
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 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 373deccfb6 constexpr function requires even parameters to be LiteralType 2022-06-29 10:36:34 +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
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 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 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
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
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
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
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