#include <CGAL/Mesh_facet_criteria_3.h>
template<typename Tr>
class CGAL::Mesh_facet_criteria_3< Tr >
The class Mesh_facet_criteria_3
is a model of MeshFacetCriteria_3
.
It provides a uniform bound for the shape criterion, a uniform or variable sizing field for the size criterion and/or a uniform or variable distance field for the approximation error criterion.
- Template Parameters
-
- Is model of
MeshFacetCriteria_3
- See also
MeshCriteria_3
-
MeshFacetCriteria_3
-
MeshDomainField_3
-
CGAL::Mesh_facet_topology
-
CGAL::Mesh_criteria_3<Tr>
-
CGAL::make_mesh_3()
|
typedef Tr::Geom_traits::FT | FT |
| Numerical type.
|
|
◆ Mesh_facet_criteria_3() [1/2]
returns an object to serve as criteria for facets.
- Parameters
-
angle_bound | is the lower bound for the angles in degrees of the surface mesh facets. |
radius_bound | is a uniform upper bound for the radius of the surface Delaunay balls. |
distance_bound | is an upper bound for the center-center distances of the surface mesh facets. |
topology | is the set of topological constraints which have to be verified by each surface facet. See section Delaunay Refinement for further details. |
min_radius_bound | is a uniform lower bound for the radius of the surface Delaunay balls. Only facets with a radius larger than that bound will be refined. |
- Note
- If one parameter is set to 0, then its corresponding criterion is ignored.
◆ Mesh_facet_criteria_3() [2/2]
template<typename Tr >
template<typename SizingField , typename DistanceField >
Returns an object to serve as criteria for facets.
The types SizingField
and DistanceField
must be models of the concept MeshDomainField_3
. The behavior and semantic of the arguments are the same as above, except that the radius and distance bound parameters are functionals instead of constants.
◆ operator()()
returns whether the facet facet
is bad or not.
- Parameters
-
tr | the triangulation within which facet lives |
facet | the facet |
◆ squared_min_radius_bound()
- Returns
- the squared value of minimal radius bound if it was set, and
std::nullopt
otherwise