keep on renaming NP and examples + document all examples

_from_soup.cpp's name was too long for msvc
This commit is contained in:
Jane Tournois 2025-06-03 11:11:16 +02:00
parent 1afaad6fdf
commit a910785202
6 changed files with 19 additions and 13 deletions

View File

@ -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}
<center>
<img src="ccdt_fpmap.png" style="max-width:75%;"/>
\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;

View File

@ -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.<br>
@ -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
*/

View File

@ -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()