CGAL 6.0 - 3D Mesh Generation
|
The Delaunay refinement process involved in the template functions CGAL::make_mesh_3()
and CGAL::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.
CGAL::Mesh_cell_criteria_3<Tr>
Types | |
typedef unspecified_type | Cell_handle |
Handle type for the cells of the triangulation. | |
typedef unspecified_type | Cell_quality |
Type representing the quality of a cell. | |
typedef unspecified_type | Is_cell_bad |
Type representing if a cell is bad or not. | |
Operations | |
Is_cell_bad | operator() (const Tr &tr, Cell_handle c) |
Returns the Is_cell_bad value of the cell c , which lives in the triangulation tr . | |
Handle type for the cells of the triangulation.
Must match the Cell_handle
type in the triangulation type used by the mesh generation function.
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
.
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 std::optional<Cell_quality>
is a natural model of this concept.
Is_cell_bad MeshCellCriteria_3::operator() | ( | const Tr & | tr, |
Cell_handle | c | ||
) |
Returns the Is_cell_bad
value of the cell c
, which lives in the triangulation tr
.
The type Tr
must be identical to the triangulation type used by the mesh generation function.