use right named parameter name

This commit is contained in:
Jane Tournois 2025-06-03 10:57:44 +02:00
parent a75ddb4ba1
commit 1afaad6fdf
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ int main(int argc, char* argv[])
std::cout << "-- Wrote segmented mesh to \"" << filename << "\"\n";
auto ccdt = CGAL::make_conforming_constrained_Delaunay_triangulation_3(mesh,
CGAL::parameters::face_patch_map(face_patch_map));
CGAL::parameters::plc_facet_id(face_patch_map));
std::cout << "Number of vertices in the CDT: "
<< ccdt.triangulation().number_of_vertices() << '\n'

View File

@ -51,7 +51,7 @@ int main(int argc, char* argv[])
auto soup_fpmap = boost::make_function_property_map<std::size_t>(polygon_to_patch_id);
auto ccdt = CGAL::make_conforming_constrained_Delaunay_triangulation_3(
points, polygons, CGAL::parameters::face_patch_map(soup_fpmap));
points, polygons, CGAL::parameters::plc_facet_id(soup_fpmap));
std::cout << "Number of vertices in the CDT: "
<< ccdt.triangulation().number_of_vertices() << '\n'

View File

@ -827,7 +827,7 @@ public:
cdt_impl.restore_Delaunay();
cdt_impl.restore_constrained_Delaunay();
} else {
auto polygon_patch_map = get_parameter(np, internal_np::face_patch);
auto polygon_patch_map = get_parameter(np, internal_np::plc_facet_id);
static_assert(!std::is_same_v<decltype(polygon_patch_map), internal_np::Param_not_found>);
using Point_type = CGAL::cpp20::remove_cvref_t<decltype(get(point_map, *cbegin(points)))>;