From 9f056f9d09b0f16704ace05e1eca1ed3d30ea882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 10 May 2023 14:59:42 +0200 Subject: [PATCH] add missing np --- .../include/CGAL/Polygon_mesh_processing/triangulate_faces.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/triangulate_faces.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/triangulate_faces.h index 1e9135658db..028e728e89e 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/triangulate_faces.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/triangulate_faces.h @@ -93,7 +93,8 @@ private: // use hole filling typedef CGAL::Triple Face_indices; std::vector patch; - PMP::triangulate_hole_polyline(hole_points, std::back_inserter(patch), np); + PMP::triangulate_hole_polyline(hole_points, std::back_inserter(patch), + np.use_2d_constrained_delaunay_triangulation(true)); if(patch.empty()) return false;