CGAL 5.6 - 3D Mesh Generation
CGAL::Mesh_edge_criteria_3< Tr > Class Template Reference

#include <CGAL/Mesh_edge_criteria_3.h>

Definition

The function object class Mesh_edge_criteria_3 is a model of MeshEdgeCriteria_3.

It provides a bound for the size criterion.

Is Model Of:
MeshEdgeCriteria_3
See also
MeshCriteria_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

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

Constructor & Destructor Documentation

◆ Mesh_edge_criteria_3() [1/2]

template<typename Tr >
CGAL::Mesh_edge_criteria_3< Tr >::Mesh_edge_criteria_3 ( const FT length_bound,
const FT min_length_bound = 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.
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.

Note that if one parameter is set to 0, then its corresponding criterion is ignored.

◆ Mesh_edge_criteria_3() [2/2]

template<typename Tr >
template<typename SizingField >
CGAL::Mesh_edge_criteria_3< Tr >::Mesh_edge_criteria_3 ( const SizingField &  length_bound,
const FT min_length_bound = 0 
)
Template Parameters
SizingFielda model of MeshDomainField_3

Returns an object to serve as criteria for edges. The behavior and semantic of the argument are the same as above, except that the length_bound parameter is a functional instead of a constant.