From c451b921ef2cd6e774044a06266a8d00613c8e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Tue, 28 Mar 2023 16:52:48 +0200 Subject: [PATCH] Rename internal functions for consistency --- .../triangulate_faces.h | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) 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 ff03d1f83f5..e0a7911c332 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 @@ -507,12 +507,12 @@ private: typename PolygonRange, typename PMap, typename Visitor> - bool triangulate_face_with_hole_filling(const Polygon& polygon, - const PointRange& points, - PolygonRange& triangulated_polygons, - PMap pmap, - const bool use_cdt, - Visitor visitor) + bool triangulate_polygon_with_hole_filling(const Polygon& polygon, + const PointRange& points, + PolygonRange& triangulated_polygons, + PMap pmap, + const bool use_cdt, + Visitor visitor) { namespace PMP = CGAL::Polygon_mesh_processing; @@ -558,12 +558,12 @@ private: typename PolygonRange, typename PMap, typename Visitor> - bool triangulate_face(const Polygon& polygon, - const PointRange& points, - PolygonRange& triangulated_polygons, - PMap pmap, - const bool use_cdt, - Visitor visitor) + bool triangulate_polygon(const Polygon& polygon, + const PointRange& points, + PolygonRange& triangulated_polygons, + PMap pmap, + const bool use_cdt, + Visitor visitor) { using FT = typename Traits::FT; using Point_ref = typename boost::property_traits::reference; @@ -608,7 +608,7 @@ private: return true; } - return triangulate_face_with_hole_filling(polygon, points, triangulated_polygons, pmap, use_cdt, visitor); + return triangulate_polygon_with_hole_filling(polygon, points, triangulated_polygons, pmap, use_cdt, visitor); } public: @@ -636,7 +636,7 @@ public: continue; } - if(!triangulate_face(polygon, points, triangulated_polygons, pmap, use_cdt, visitor)) + if(!triangulate_polygon(polygon, points, triangulated_polygons, pmap, use_cdt, visitor)) result = false; }