mirror of https://github.com/CGAL/cgal
use right named parameter name
This commit is contained in:
parent
a75ddb4ba1
commit
1afaad6fdf
|
|
@ -53,7 +53,7 @@ int main(int argc, char* argv[])
|
||||||
std::cout << "-- Wrote segmented mesh to \"" << filename << "\"\n";
|
std::cout << "-- Wrote segmented mesh to \"" << filename << "\"\n";
|
||||||
|
|
||||||
auto ccdt = CGAL::make_conforming_constrained_Delaunay_triangulation_3(mesh,
|
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: "
|
std::cout << "Number of vertices in the CDT: "
|
||||||
<< ccdt.triangulation().number_of_vertices() << '\n'
|
<< ccdt.triangulation().number_of_vertices() << '\n'
|
||||||
|
|
|
||||||
|
|
@ -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 soup_fpmap = boost::make_function_property_map<std::size_t>(polygon_to_patch_id);
|
||||||
auto ccdt = CGAL::make_conforming_constrained_Delaunay_triangulation_3(
|
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: "
|
std::cout << "Number of vertices in the CDT: "
|
||||||
<< ccdt.triangulation().number_of_vertices() << '\n'
|
<< ccdt.triangulation().number_of_vertices() << '\n'
|
||||||
|
|
|
||||||
|
|
@ -827,7 +827,7 @@ public:
|
||||||
cdt_impl.restore_Delaunay();
|
cdt_impl.restore_Delaunay();
|
||||||
cdt_impl.restore_constrained_Delaunay();
|
cdt_impl.restore_constrained_Delaunay();
|
||||||
} else {
|
} 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>);
|
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)))>;
|
using Point_type = CGAL::cpp20::remove_cvref_t<decltype(get(point_map, *cbegin(points)))>;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue