The concept MeshCellBase_3 describes the requirements for the Cell type of the triangulation used in the 3D mesh generation process. The type MeshCellBase_3 refines the concept RegularTriangulationCellBase_3. The concept MeshCellBase_3 includes a way to store and retrieve if a given cell of the triangulation is inside the domain or not and which subdomain it belongs to in case of a multi-domain.
Moreover, this concept adds four markers per cell to mark the facets of the triangulation that are surface facets, and four additional helper markers used in some operations to mark for instance the facets that have been visited.
This concept also provides storage for the centers of Delaunay surface balls. Each surface facet has a Delaunay surface ball, i. e. a circumscribing ball, centered on an input complex surface patch, and empty of triangulation vertices. In the following we call surface center of a surface facet, the center of its biggest Delaunay surface ball.
MeshCellBase_3::Point | |
Point type, required to match the point type
of the 3D triangulation in which the mesh is embedded.
| |
MeshCellBase_3::Subdomain_index; | |
Type of indices for cells of the input complex. Must match the type MeshDomain_3::Subdomain_index.
| |
MeshCellBase_3::Surface_patch_index; | |
Type of indices for surface patches of the input complex. Must match the type MeshDomain_3::Surface_patch_index.
|
Subdomain_index | cell.subdomain_index () | Returns the index of the input subdomain that contains the cell cell of the triangulation. |
void | cell.set_subdomain_index ( Subdomain_index index) | |
Sets the subdomain index of the cell. | ||
bool | cell.is_facet_on_surface ( int i) | |
returns true iff facet(i) is a surface facet. | ||
Surface_patch_index | cell.surface_patch_index ( int i) | |
returns Surface_patch_index of facet i. | ||
void | cell.set_surface_patch_index ( int i, Surface_patch_index index) | |
sets Surface_patch_index of facet i to index. | ||
bool | cell.is_facet_visited ( int i) | Returns true iff facet(i) has been visited. |
void | cell.set_facet_visited ( int i, bool b) | |
Marks facet(i) as visited if b is true and non-visited otherwise. | ||
Point | cell.facet_surface_center ( int i) | |
Returns a const reference to the surface center of facet(i). | ||
void | cell.set_facet_surface_center ( int i, Point p) | |
Sets point p as the surface center of facet(i). |
CGAL::make_mesh_3
MeshDomain_3
Complex_3InTriangulation_3