From a9107852026e7e3faf7b1ee795dc6e4a15a0d7cf Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Tue, 3 Jun 2025 11:11:16 +0200 Subject: [PATCH] keep on renaming NP and examples + document all examples _from_soup.cpp's name was too long for msvc --- .../Constrained_triangulation_3.txt | 10 +++++----- .../doc/Constrained_triangulation_3/examples.txt | 8 +++++++- .../Constrained_triangulation_3/CMakeLists.txt | 14 +++++++------- ...growing.cpp => ccdt_3_fimap_region_growing.cpp} | 0 ...lation_3_from_soup.cpp => ccdt_3_from_soup.cpp} | 0 ...m_soup_fpmap.cpp => ccdt_3_from_soup_fimap.cpp} | 0 6 files changed, 19 insertions(+), 13 deletions(-) rename Constrained_triangulation_3/examples/Constrained_triangulation_3/{ccdt_3_fpmap_region_growing.cpp => ccdt_3_fimap_region_growing.cpp} (100%) rename Constrained_triangulation_3/examples/Constrained_triangulation_3/{conforming_constrained_Delaunay_triangulation_3_from_soup.cpp => ccdt_3_from_soup.cpp} (100%) rename Constrained_triangulation_3/examples/Constrained_triangulation_3/{ccdt_3_from_soup_fpmap.cpp => ccdt_3_from_soup_fimap.cpp} (100%) diff --git a/Constrained_triangulation_3/doc/Constrained_triangulation_3/Constrained_triangulation_3.txt b/Constrained_triangulation_3/doc/Constrained_triangulation_3/Constrained_triangulation_3.txt index 0d7ef113ef7..64b82192356 100644 --- a/Constrained_triangulation_3/doc/Constrained_triangulation_3/Constrained_triangulation_3.txt +++ b/Constrained_triangulation_3/doc/Constrained_triangulation_3/Constrained_triangulation_3.txt @@ -178,10 +178,10 @@ Delaunay triangulation from a given PLC. You can also construct a conforming constrained Delaunay triangulation from a polygon soup. The following example demonstrates how to build such a triangulation. -\cgalExample{Constrained_triangulation_3/conforming_constrained_Delaunay_triangulation_3_from_soup.cpp } +\cgalExample{Constrained_triangulation_3/ccdt_3_from_soup.cpp } -\subsection CT_3_example_ccdt_fpmap Build a Conforming Constrained Delaunay Triangulation with Known Polygon Identifiers +\subsection CT_3_example_ccdt_fimap Build a Conforming Constrained Delaunay Triangulation with Known Polygon Identifiers If the user already knows the set of polygon identifiers to associate with each PLC facet, this information can be provided and preserved throughout the construction of the conforming constrained Delaunay @@ -197,12 +197,12 @@ If this parameter is not specified, each input polygon, or PLC facet, is given a \cgalExample{Constrained_triangulation_3/conforming_constrained_Delaunay_triangulation_3_fimap.cpp} -\cgalFigureRef{CT_3_ccdt_fpmap_fig} shows the input and output of this triangulation construction example. +\cgalFigureRef{CT_3_ccdt_fimap_fig} shows the input and output of this triangulation construction example. -\cgalFigureAnchor{CT_3_ccdt_fpmap_fig} +\cgalFigureAnchor{CT_3_ccdt_fimap_fig}
-\cgalFigureCaptionBegin{CT_3_ccdt_fpmap_fig} +\cgalFigureCaptionBegin{CT_3_ccdt_fimap_fig} From left to right: Input PLC; The corresponding conforming constrained Delaunay triangulation with one patch per input polygon; Input PLC segmented according to sharp edges; diff --git a/Constrained_triangulation_3/doc/Constrained_triangulation_3/examples.txt b/Constrained_triangulation_3/doc/Constrained_triangulation_3/examples.txt index 94f494f9972..270ae968441 100644 --- a/Constrained_triangulation_3/doc/Constrained_triangulation_3/examples.txt +++ b/Constrained_triangulation_3/doc/Constrained_triangulation_3/examples.txt @@ -8,7 +8,7 @@ It constructs a 3D constrained Delaunay triangulation from a polygon mesh. */ /*! -\example Constrained_triangulation_3/conforming_constrained_Delaunay_triangulation_3_from_soup.cpp +\example Constrained_triangulation_3/ccdt_3_from_soup.cpp @brief Simple example demonstrating the usage of the Constrained_triangulation_3 package.
@@ -46,3 +46,9 @@ after autorefinement. From a self-intersecting and non-triangulated surface surface in an OFF file, construct the constrained Delaunay triangulation after preprocessing. */ + +/*! +\example Constrained_triangulation_3/ccdt_3_check_preconditions.cpp +\example Constrained_triangulation_3/ccdt_3_fimap_region_growing.cpp +\example Constrained_triangulation_3/ccdt_3_from_soup_fimap.cpp +*/ diff --git a/Constrained_triangulation_3/examples/Constrained_triangulation_3/CMakeLists.txt b/Constrained_triangulation_3/examples/Constrained_triangulation_3/CMakeLists.txt index 36167f8f346..deb8319fa6c 100644 --- a/Constrained_triangulation_3/examples/Constrained_triangulation_3/CMakeLists.txt +++ b/Constrained_triangulation_3/examples/Constrained_triangulation_3/CMakeLists.txt @@ -10,22 +10,22 @@ add_compile_definitions(QT_NO_KEYWORDS) create_single_source_cgal_program(conforming_constrained_Delaunay_triangulation_3.cpp) create_single_source_cgal_program(conforming_constrained_Delaunay_triangulation_3_fimap.cpp) -create_single_source_cgal_program(conforming_constrained_Delaunay_triangulation_3_from_soup.cpp) -create_single_source_cgal_program(ccdt_3_from_soup_fpmap.cpp) +create_single_source_cgal_program(ccdt_3_from_soup.cpp) +create_single_source_cgal_program(ccdt_3_from_soup_fimap.cpp) create_single_source_cgal_program(ccdt_3_after_autorefinement.cpp) create_single_source_cgal_program(ccdt_3_preprocessing.cpp) create_single_source_cgal_program(ccdt_3_check_preconditions.cpp) create_single_source_cgal_program(remesh_constrained_Delaunay_triangulation_3.cpp) if(TARGET CGAL::Eigen3_support) - create_single_source_cgal_program(ccdt_3_fpmap_region_growing.cpp) - target_link_libraries(ccdt_3_fpmap_region_growing PUBLIC CGAL::Eigen3_support) + create_single_source_cgal_program(ccdt_3_fimap_region_growing.cpp) + target_link_libraries(ccdt_3_fimap_region_growing PUBLIC CGAL::Eigen3_support) endif() if(CGAL_Qt6_FOUND) target_link_libraries(conforming_constrained_Delaunay_triangulation_3 PUBLIC CGAL::CGAL_Basic_viewer) - target_link_libraries(conforming_constrained_Delaunay_triangulation_3_from_soup PUBLIC CGAL::CGAL_Basic_viewer) - target_link_libraries(ccdt_3_from_soup_fpmap PUBLIC CGAL::CGAL_Basic_viewer) + target_link_libraries(ccdt_3_from_soup PUBLIC CGAL::CGAL_Basic_viewer) + target_link_libraries(ccdt_3_from_soup_fimap PUBLIC CGAL::CGAL_Basic_viewer) target_link_libraries(ccdt_3_after_autorefinement PUBLIC CGAL::CGAL_Basic_viewer) target_link_libraries(ccdt_3_preprocessing PUBLIC CGAL::CGAL_Basic_viewer) target_link_libraries(ccdt_3_check_preconditions PUBLIC CGAL::CGAL_Basic_viewer) @@ -36,5 +36,5 @@ endif() find_package(TBB QUIET) include(CGAL_TBB_support) if(TARGET CGAL::TBB_support) - target_link_libraries(ccdt_3_from_soup_fpmap PUBLIC CGAL::TBB_support) + target_link_libraries(ccdt_3_from_soup_fimap PUBLIC CGAL::TBB_support) endif() diff --git a/Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_fpmap_region_growing.cpp b/Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_fimap_region_growing.cpp similarity index 100% rename from Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_fpmap_region_growing.cpp rename to Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_fimap_region_growing.cpp diff --git a/Constrained_triangulation_3/examples/Constrained_triangulation_3/conforming_constrained_Delaunay_triangulation_3_from_soup.cpp b/Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_from_soup.cpp similarity index 100% rename from Constrained_triangulation_3/examples/Constrained_triangulation_3/conforming_constrained_Delaunay_triangulation_3_from_soup.cpp rename to Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_from_soup.cpp diff --git a/Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_from_soup_fpmap.cpp b/Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_from_soup_fimap.cpp similarity index 100% rename from Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_from_soup_fpmap.cpp rename to Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_from_soup_fimap.cpp