CGAL 6.1 - 3D Mesh Generation
Loading...
Searching...
No Matches
CGAL::Mesh_edge_criteria_3< Tr > Class Template Reference

#include <CGAL/Mesh_edge_criteria_3.h>

Definition

template<typename Tr>
class CGAL::Mesh_edge_criteria_3< Tr >

The function object class Mesh_edge_criteria_3 is a model of MeshEdgeCriteria_3.

It provides bounds for the size and approximation criteria.

Is model of
MeshEdgeCriteria_3
See also
MeshCriteriaWithFeatures_3
CGAL::Mesh_criteria_3<Tr>
MeshDomainField_3

Types

typedef Tr::Geom_traits::FT FT
 Numerical type.
 
typedef Tr::Vertex::Index Index
 
typedef Tr::Bare_point Point_3
 

Creation

template<typename SizingField , typename DistanceField = FT>
 Mesh_edge_criteria_3 (const SizingField &length_bound, const FT &min_length_bound=0, const DistanceField &distance_bound=FT(0))
 returns an object to serve as criteria for edges.
 

Constructor & Destructor Documentation

◆ Mesh_edge_criteria_3()

template<typename Tr >
template<typename SizingField , typename DistanceField = FT>
CGAL::Mesh_edge_criteria_3< Tr >::Mesh_edge_criteria_3 ( const SizingField &  length_bound,
const FT min_length_bound = 0,
const DistanceField &  distance_bound = FT(0) 
)

returns an object to serve as criteria for edges.

Parameters
length_boundis an upper bound for the length of the edges which are used to discretize the curves. It can be a functional or a constant.
min_length_boundis a desired lower bound for the length of the edges which are used to discretize the curves. Only edges that are longer than this bound will be refined. Using this lower bound can be handy on some domains, but using it may break all the surface topology guarantees of the meshing algorithm. It is not guaranteed to be exactly respected in the output mesh.
distance_boundis an upper bound for the distance from the edge to the corresponding 1D feature. It can be a functional or a constant.
Note
If one parameter is set to 0, then its corresponding criterion is ignored.
Template Parameters
SizingFieldscalar or model of MeshDomainField_3
DistanceFieldscalar or model of MeshDomainField_3