From 4d486527d2c6194f1863274b19e4b5b08fbb6a50 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Fri, 7 Jun 2024 15:18:57 +0200 Subject: [PATCH] fix doc --- Mesh_3/doc/Mesh_3/Concepts/MeshFacetCriteria_3.h | 11 +++++++++++ Mesh_3/include/CGAL/Mesh_facet_criteria_3.h | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/Mesh_3/doc/Mesh_3/Concepts/MeshFacetCriteria_3.h b/Mesh_3/doc/Mesh_3/Concepts/MeshFacetCriteria_3.h index 456507d32949..07a6626bb79d 100644 --- a/Mesh_3/doc/Mesh_3/Concepts/MeshFacetCriteria_3.h +++ b/Mesh_3/doc/Mesh_3/Concepts/MeshFacetCriteria_3.h @@ -62,6 +62,11 @@ a natural model of this concept. */ typedef unspecified_type Is_facet_bad; +/*! +* Numerical type. +*/ +typedef unspecified_type FT; + /// @} /// \name Operations @@ -73,6 +78,12 @@ The type `Tr` must be identical to the triangulation type used by the mesh gener */ Is_facet_bad operator()(const Tr& tr, Facet f); +/** +* @returns the squared value of minimal radius bound if set, +* and `std::nullopt` otherwise +*/ +std::optional squared_min_radius_bound() const; + /// @} }; /* end MeshFacetCriteria_3 */ diff --git a/Mesh_3/include/CGAL/Mesh_facet_criteria_3.h b/Mesh_3/include/CGAL/Mesh_facet_criteria_3.h index 1ddf10fc4d66..5292e0e94787 100644 --- a/Mesh_3/include/CGAL/Mesh_facet_criteria_3.h +++ b/Mesh_3/include/CGAL/Mesh_facet_criteria_3.h @@ -179,6 +179,10 @@ class Mesh_facet_criteria_3 return topology_; } + /** + * @returns the squared value of minimal radius bound if it was set, + * and `std::nullopt` otherwise + */ std::optional squared_min_radius_bound() const { if(squared_min_radius_bound_) return *squared_min_radius_bound_;