MeshFacetCriteria_3

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.

Types

MeshFacetCriteria_3::Facet
Type for the facets of the triangulation. Must match the Facet type in the triangulation type used by the mesh generation function.


MeshFacetCriteria_3::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.


MeshFacetCriteria_3::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.


MeshFacetCriteria_3::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

Operations

Facet_badness facet_criteria ( Facet f ) Returns Facet_badness value of facet f.

Facet_badness facet_criteria ( Cell_handle c , int i )
Same as above with f=(c,i).

Has Models

Mesh_facet_criteria_3<Tr>

See Also

MeshCellCriteria_3
MeshEdgeCriteria_3
MeshCriteria_3
CGAL::make_mesh_3
CGAL::refine_mesh_3