From dc34a06c8b1a6b750cd48c2961fa548a17737b84 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 25 Jan 2017 16:12:38 +0100 Subject: [PATCH 1/2] PMP: Fix error in the ref manual of connected components functions --- .../CGAL/Polygon_mesh_processing/connected_components.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h index 875129cef8f..f0e59a62695 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h @@ -485,7 +485,7 @@ connected_component(typename boost::graph_traits::face_descriptor s * \tparam PolygonMesh a model of `FaceListGraph` * \tparam FaceComponentMap a model of `WritablePropertyMap` with `boost::graph_traits::%face_descriptor` as key type and - `boost::face_index` as value type. + `boost::graph_traitsfaces_size_type` as value type. * \tparam NamedParameters a sequence of \ref namedparameters * \param pmesh the polygon mesh @@ -871,7 +871,7 @@ void keep_or_remove_connected_components(PolygonMesh& pmesh * \tparam ComponentRange a range of ids convertible to `std::size` * \tparam FaceComponentMap a model of `ReadWritePropertyMap` with * `boost::graph_traits::%face_descriptor` as key type and -* `boost::face_index` as value type. +* `boost::graph_traitsfaces_size_type` as value type. * * \param components_to_keep the range of ids of connected components to keep * \param pmesh the polygon mesh @@ -915,7 +915,7 @@ void keep_connected_components(PolygonMesh& pmesh * \tparam ComponentRange a range of ids convertible to `std::size` * \tparam FaceComponentMap a model of `ReadWritePropertyMap` with * `boost::graph_traits::%face_descriptor` as key type and -* `boost::face_index` as value type. +* `boost::graph_traitsfaces_size_type` as value type. * * \param components_to_remove the range of ids of connected components to remove * \param pmesh the polygon mesh From 07f62beb4bb091c5228390e8b8e142e5765e6ce4 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 25 Jan 2017 17:52:44 +0100 Subject: [PATCH 2/2] fix typos --- .../CGAL/Polygon_mesh_processing/connected_components.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h index f0e59a62695..018fbe3ac9f 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h @@ -485,7 +485,7 @@ connected_component(typename boost::graph_traits::face_descriptor s * \tparam PolygonMesh a model of `FaceListGraph` * \tparam FaceComponentMap a model of `WritablePropertyMap` with `boost::graph_traits::%face_descriptor` as key type and - `boost::graph_traitsfaces_size_type` as value type. + `boost::graph_traits::faces_size_type` as value type. * \tparam NamedParameters a sequence of \ref namedparameters * \param pmesh the polygon mesh @@ -871,7 +871,7 @@ void keep_or_remove_connected_components(PolygonMesh& pmesh * \tparam ComponentRange a range of ids convertible to `std::size` * \tparam FaceComponentMap a model of `ReadWritePropertyMap` with * `boost::graph_traits::%face_descriptor` as key type and -* `boost::graph_traitsfaces_size_type` as value type. +* `boost::graph_traits::faces_size_type` as value type. * * \param components_to_keep the range of ids of connected components to keep * \param pmesh the polygon mesh @@ -915,7 +915,7 @@ void keep_connected_components(PolygonMesh& pmesh * \tparam ComponentRange a range of ids convertible to `std::size` * \tparam FaceComponentMap a model of `ReadWritePropertyMap` with * `boost::graph_traits::%face_descriptor` as key type and -* `boost::graph_traitsfaces_size_type` as value type. +* `boost::graph_traits::faces_size_type` as value type. * * \param components_to_remove the range of ids of connected components to remove * \param pmesh the polygon mesh