CGAL 5.6.1 - 3D Simplicial Mesh Data Structures
SimplicialMeshCellBase_3 Concept Reference

Definition

The concept SimplicialMeshCellBase_3 describes the requirements for the TriangulationDataStructure_3::Cell type of the triangulation used in the 3D simplicial mesh data structure. The type SimplicialMeshCellBase_3 refines the concept TriangulationCellBase_3 and must be copy constructible. The concept SimplicialMeshCellBase_3 includes a way to store and retrieve if a given cell of the triangulation is inside a subdomain 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.

Refines
TriangulationCellBase_3
CopyConstructible
Has Models:

CGAL::Compact_mesh_cell_base_3

CGAL::Mesh_cell_base_3

CGAL::Simplicial_mesh_cell_base_3

CGAL::Tetrahedral_remeshing::Remeshing_cell_base_3

Types

typedef unspecified_type Subdomain_index
 Type of indices for cells of the mesh complex. More...
 
typedef unspecified_type Surface_patch_index
 Type of indices for surface patches of the mesh complex. More...
 

Operations

Subdomain_index subdomain_index ()
 returns the index of the input subdomain that contains the cell.
 
void set_subdomain_index (Subdomain_index index)
 Sets the subdomain index of the cell.
 
bool is_facet_on_surface (int i)
 returns true iff facet(i) is a surface facet.
 
Surface_patch_index surface_patch_index (int i)
 returns Surface_patch_index of facet i.
 
void set_surface_patch_index (int i, Surface_patch_index index)
 sets Surface_patch_index of facet i to index.
 

Member Typedef Documentation

◆ Subdomain_index

Type of indices for cells of the mesh complex.

Must match the type MeshDomain_3::Subdomain_index in the context of mesh generation.

◆ Surface_patch_index

Type of indices for surface patches of the mesh complex.

Must match the type MeshDomain_3::Surface_patch_index in the context of mesh generation.