\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 5.0.4 - 3D Mesh Generation
MeshFacetCriteria_3 Concept Reference

Definition

The Delaunay refinement process involved in the template functions make_mesh_3() and refine_mesh_3() is guided by a set of elementary refinement criteria that concern either mesh tetrahedra or surface facets. The concept MeshFacetCriteria_3 describes the types that handle the refinement criteria for surface facets.

Has Models:
CGAL::Mesh_facet_criteria_3<Tr>
See also
MeshCellCriteria_3
MeshEdgeCriteria_3
MeshCriteria_3
CGAL::make_mesh_3()
CGAL::refine_mesh_3()

Types

typedef unspecified_type Facet
 Type for the facets of the triangulation. More...
 
typedef unspecified_type Cell_handle
 Handle type for the cells of the triangulation. More...
 
typedef unspecified_type Facet_quality
 Type representing the quality of a facet. More...
 
typedef unspecified_type Is_facet_bad
 Type representing if a facet is bad or not. More...
 

Operations

Is_facet_bad operator() (const Tr &tr, Facet f)
 Returns the Is_facet_bad value of the facet f, which lives in the triangulation tr. More...
 

Member Typedef Documentation

◆ Cell_handle

Handle type for the cells of the triangulation.

Must match the Cell_handle type in the triangulation type used by the mesh generation function.

◆ Facet

Type for the facets of the triangulation.

Must match the Facet type in the triangulation type used by the mesh generation function.

◆ Facet_quality

Type representing the quality of a facet.

Must be a model of CopyConstructible and LessThanComparable. Between two facets, the one which has the lower quality must have the lower Facet_quality.

◆ Is_facet_bad

Type representing if a facet is bad or not.

This type must be convertible to bool. If it converts to true then the facet is bad, otherwise the facet is good with regard to the criteria.

In addition, an object of this type must contain an object of type Facet_quality if it represents a bad facet. Facet_quality must be accessible by operator*(). Note that boost::optional<Facet_quality> is a natural model of this concept.

Member Function Documentation

◆ operator()()

Is_facet_bad MeshFacetCriteria_3::operator() ( const Tr &  tr,
Facet  f 
)

Returns the Is_facet_bad value of the facet f, which lives in the triangulation tr.

The type Tr must be identical to the triangulation type used by the mesh generation function.