MeshCellCriteria_3

Definition

The Delaunay refinement process involved in the templated 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 MeshCellCriteria_3 describes the types that handle the refinement criteria for mesh tetrahedra.

Types

MeshCellCriteria_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.


MeshCellCriteria_3::Cell_quality
Type representing the quality of a cell. Must be a model of CopyConstructible and LessThanComparable. Between two cells, the one which has the lower quality must have the lower Cell_quality.


MeshCellCriteria_3::Cell_badness
Type representing if a cell is bad or not. Must be convertible to bool. If it converts to true then the cell is bad, otherwise the cell is good with regard to the criteria.

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

Operations

Cell_badness cell_criteria ( Cell_handle c ) Returns Cell_badness value of cell c.

Has Models

Mesh_cell_criteria_3<Tr>

See Also

MeshFacetCriteria_3
MeshCriteria_3
make_mesh_3
refine_mesh_3