CGAL 5.1.2 - 3D Mesh Generation
CGAL::Mesh_facet_criteria_3< Tr > Class Template Reference

#include <CGAL/Mesh_facet_criteria_3.h>

Definition

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
Trmust be identical to the nested type Triangulation of the instance used as model of MeshComplex_3InTriangulation_3.
Is Model Of:
MeshFacetCriteria_3
See also
CGAL::Mesh_facet_topology
MeshCriteria_3
MeshFacetCriteria_3
CGAL::Mesh_criteria_3<Tr>
MeshDomainField_3
CGAL::make_mesh_3()

Types

typedef Tr::Geom_traits::FT FT
 Numerical type.
 

Creation

 Mesh_facet_criteria_3 (const FT &angle_bound, const FT &radius_bound, const FT &distance_bound, Mesh_facet_topology topology=FACET_VERTICES_ON_SURFACE)
 Returns an object to serve as criteria for facets. More...
 
template<class SizingField , class DistanceField >
 Mesh_facet_criteria_3 (const FT &angle_bound, const SizingField &radius_bound, const DistanceField &distance_bound, Mesh_facet_topology topology=FACET_VERTICES_ON_SURFACE)
 Returns an object to serve as criteria for facets. More...
 

Constructor & Destructor Documentation

◆ Mesh_facet_criteria_3() [1/2]

template<typename Tr >
CGAL::Mesh_facet_criteria_3< Tr >::Mesh_facet_criteria_3 ( const FT angle_bound,
const FT radius_bound,
const FT distance_bound,
Mesh_facet_topology  topology = FACET_VERTICES_ON_SURFACE 
)

Returns an object to serve as criteria for facets.

Parameters
angle_boundis the lower bound for the angle in degrees of the surface mesh facets.
radius_boundis a uniform upper bound for the radius of the surface Delaunay balls.
distance_boundis an upper bound for the center-center distances of the surface mesh facets.
topologyis the set of topological constraints which have to be verified by each surface facet. See section Delaunay Refinement for further details. Note that if one parameter is set to 0, then its corresponding criteria is ignored.

◆ Mesh_facet_criteria_3() [2/2]

template<typename Tr >
template<class SizingField , class DistanceField >
CGAL::Mesh_facet_criteria_3< Tr >::Mesh_facet_criteria_3 ( const FT angle_bound,
const SizingField &  radius_bound,
const DistanceField &  distance_bound,
Mesh_facet_topology  topology = FACET_VERTICES_ON_SURFACE 
)

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.