Commit Graph

5135 Commits

Author SHA1 Message Date
Sébastien Loriot 1a4a6816ac Merge pull request #6084 from janetournois/PMP-add_surface_mesher-jtournois
PMP - add surface remeshing from Mesh_3
2022-06-29 09:20:10 +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 cc2d27e519 add corefine test 2022-06-27 19:58:58 +02:00
Sébastien Loriot 2670d65fd0 add extra tests 2022-06-27 19:19:10 +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 79703fa5f4 add TODO 2022-06-21 18:00:08 +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 903e3a4e41 test clip with degenerate triangles 2022-06-21 17:57:50 +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 5fc4b4f3c4 Merge remote-tracking branch 'cgal/master' into HEAD 2022-06-16 13:33:54 +02:00
Sébastien Loriot 4400120244 remove non-needed include directives 2022-06-16 09:54:57 +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
Andreas Fabri f3d587da26 PMP: Include the correct header file in a test 2022-06-15 07:33:55 +01: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
Sébastien Loriot c8654724e2 update test to check we can prevent collapses and flips 2022-06-13 12:41:57 +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
Sébastien Loriot e7b9e48d76 do not use deprecated API 2022-06-08 17:49:08 +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
Jane Tournois 132a1d57e4 add missing link with Eigen 2022-06-07 11:34:14 +02:00
albert-github ee415d50de Corrections for more strict doxygen symbol resolver
The doxygen  symbol resolver for the doxygen master version (1.9.5 (35711f2d14acc81cff83f81f04c566ad8c8c6fe8)) has been improved (made stricter) but this means also means that some links have to be corrected.
The patch has been tested against the mentioned doxygen master and against doxygen 1.8.13 and the results look in both cases correct (without the patch the master version has some warnings and some incorrect links)..

The patch has been created by @doxygen and upon request created into a pull request by me.
2022-06-07 10:56:37 +02:00
Jane Tournois 2159aea79a add missing link with Eigen 2022-06-07 10:10:55 +02:00
Sébastien Loriot 28fc05cf76 workaround handle degenerate triangles and duplicated nodes in clip 2022-06-02 19:28:54 +02:00
Jane Tournois 86c9a35c15 Merge remote-tracking branch 'cgal/master' into PMP-add_surface_mesher-jtournois 2022-06-02 08:25:30 +01: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
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 269a391fa0
Merge pull request #6558 from lrineau/Installation-remove_wd4503-GF
CMake script updates: version of CMake and /wd4503 is only for MSVC 2015
2022-05-13 15:53:36 +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 64979f79fa use non-deprecated np 2022-05-13 15:36:24 +02:00
Sébastien Loriot 083edccc39 remove verbose flag 2022-05-13 09:35:52 +02:00
Sébastien Loriot 58e589fdcb fix typos and missing dots 2022-05-12 12:23:21 +02:00
Sebastien Loriot 28213a70f0
Apply suggestions from code review
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-05-12 12:18:21 +02:00
Sébastien Loriot 66fc559586 add missing beginning 2022-05-12 10:09:20 +02:00
Sébastien Loriot 880ece7faa avoid empty map case 2022-05-12 10:06:42 +02:00
Andreas Fabri 88345b6ca4 polish 2022-05-12 08:12:37 +01:00
Sébastien Loriot 51d525778a fixes after review 2022-05-11 17:48:24 +02:00
Andreas Fabri eaa70a7520 int -> std::size_t (only catched with /W3) 2022-05-11 07:06:41 +01: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
Jane Tournois 3fe4c316a7 remove extra empty lines 2022-05-10 09:47:09 +02:00
Jane Tournois aeb28afe4a improve test 2022-05-10 09:46:57 +02:00
Jane Tournois 3f5ecbe9d9
Update Polygon_mesh_processing/doc/Polygon_mesh_processing/Polygon_mesh_processing.txt
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-05-10 09:23:58 +02:00
Andreas Fabri d01fa7bddd int -> std::size_t 2022-05-10 07:16:14 +01:00
Laurent Rineau 734c96e951 Merge branch 'master' into pr/lrineau/6558 2022-05-06 16:25:32 +02: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 c18c3af6ac fix conversion warnings 2022-05-06 09:47:17 +02:00
Sébastien Loriot b42501514a fix broken API 2022-05-06 09:36:28 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Sébastien Loriot ea39f5def6 mention the visitor in the user manual 2022-05-05 14:46:51 +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 78e638b748 restore example and create a one dedicated to the visitor 2022-05-05 13:34:38 +02:00
Laurent Rineau 83fb998a66 Fix the non-determinism 2022-05-04 17:15:39 +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é 8820db7b86 Minor test improvements 2022-04-29 16:24:15 +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
Jane Tournois 3b25bc1e0d improve test 2022-04-29 16:19:06 +02:00
Jane Tournois a547404f8c improve test
this test is failing for now
2022-04-29 15:20:22 +02:00
Jane Tournois f0022a5e21 change API to return triangulation instead of modifying Tr& out
and fix compilation errors after merging master
2022-04-29 13:53:39 +02:00
Jane Tournois c21fe46525 Merge remote-tracking branch 'cgal/master' into PMP-add_surface_mesher-jtournois
# Conflicts:
#	Polygon_mesh_processing/doc/Polygon_mesh_processing/PackageDescription.txt
#	Polygon_mesh_processing/examples/Polygon_mesh_processing/CMakeLists.txt
2022-04-29 10:48:08 +02:00
Andreas Fabri a186d5205e int -> std::size_t 2022-04-27 08:53:41 +01:00
Andreas Fabri 30056cf3b1 int ->? std::size_t 2022-04-26 08:04:43 +01:00
Sébastien Loriot ec53e0a8dd avoid spamming the console if CERES is not available 2022-04-21 06:51:12 +02:00