From 07d7615d91e6c6ceec012e78ad4e9cd413d04de3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Thu, 6 Feb 2025 10:16:10 +0100 Subject: [PATCH] Require a FaceGraph for boundary checks --- .../include/CGAL/Polygon_mesh_processing/curvature.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/curvature.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/curvature.h index cdcf687d678..f612535dfc5 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/curvature.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/curvature.h @@ -34,7 +34,7 @@ namespace Polygon_mesh_processing { * * The angle sum is given in degrees. * - * @tparam PolygonMesh a model of `HalfedgeGraph` + * @tparam PolygonMesh a model of `FaceGraph` * @tparam NamedParameters a sequence of \ref bgl_namedparameters "Named Parameters" * * @param v the vertex whose sum of angles is computed @@ -114,7 +114,7 @@ angle_sum(typename boost::graph_traits::vertex_descriptor v, * * We refer to Meyer et al. \cgalCite{cgal:mdsb-ddgot-02} for the definition of discrete Gaussian curvature. * - * @tparam TriangleMesh a model of `HalfedgeGraph` + * @tparam TriangleMesh a model of `FaceGraph` * @tparam NamedParameters a sequence of \ref bgl_namedparameters "Named Parameters" * * @param v the vertex whose discrete Gaussian curvature is being computed @@ -227,7 +227,7 @@ discrete_Gaussian_curvature(typename boost::graph_traits::vertex_d * * We refer to Meyer et al. \cgalCite{cgal:mdsb-ddgot-02} for the definition of discrete Gaussian curvature. * - * @tparam TriangleMesh a model of `HalfedgeGraph` + * @tparam TriangleMesh a model of `FaceGraph` * @tparam VertexCurvatureMap must be a model of `WritablePropertyMap` with key type * `boost::graph_traits::%vertex_descriptor` and value type `FT`, * which is either `geom_traits::FT` if this named parameter is provided, @@ -284,7 +284,7 @@ void discrete_Gaussian_curvatures(const TriangleMesh& tmesh, * * We refer to Meyer et al. \cgalCite{cgal:mdsb-ddgot-02} for the definition of discrete mean curvature. * - * @tparam TriangleMesh a model of `HalfedgeGraph` + * @tparam TriangleMesh a model of `FaceGraph` * @tparam NamedParameters a sequence of \ref bgl_namedparameters "Named Parameters" * * @param v the vertex whose discrete mean curvature is being computed @@ -425,7 +425,7 @@ discrete_mean_curvature(typename boost::graph_traits::vertex_descr * * We refer to Meyer et al. \cgalCite{cgal:mdsb-ddgot-02} for the definition of discrete mean curvature. * - * @tparam TriangleMesh a model of `HalfedgeGraph` + * @tparam TriangleMesh a model of `FaceGraph` * @tparam VertexCurvatureMap must be a model of `WritablePropertyMap` with key type * `boost::graph_traits::%vertex_descriptor` and value type `FT`, * which is either `geom_traits::FT` if this named parameter is provided,