Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
janetournois committed Jun 7, 2024
1 parent 2c13f1f commit 4d48652
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Mesh_3/doc/Mesh_3/Concepts/MeshFacetCriteria_3.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ a natural model of this concept.
*/
typedef unspecified_type Is_facet_bad;

/*!
* Numerical type.
*/
typedef unspecified_type FT;

/// @}

/// \name Operations
Expand All @@ -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<FT> squared_min_radius_bound() const;

/// @}

}; /* end MeshFacetCriteria_3 */
4 changes: 4 additions & 0 deletions Mesh_3/include/CGAL/Mesh_facet_criteria_3.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<FT> squared_min_radius_bound() const {
if(squared_min_radius_bound_)
return *squared_min_radius_bound_;
Expand Down

0 comments on commit 4d48652

Please sign in to comment.