indexedCell< Gt, Cb > Class Template Reference

An indexed form of CGAL::Triangulation_cell_base_3<K> used to keep track of the Delaunay cells (tets) in the tessellation. More...

Inheritance diagram for indexedCell< Gt, Cb >:
[legend]
Collaboration diagram for indexedCell< Gt, Cb >:
[legend]

Classes

struct  Rebind_TDS
 

Public Types

typedef Cb::Triangulation_data_structure Tds
 
typedef Cb::Vertex_handle Vertex_handle
 
typedef Cb::Cell_handle Cell_handle
 
- Public Types inherited from indexedCellEnum
enum  cellTypes {
  ctUnassigned = INT_MIN , ctFar = INT_MIN + 1 , ctInternal = INT_MIN + 2 , ctSurface = INT_MIN + 3 ,
  ctFeatureEdge = INT_MIN + 4 , ctFeaturePoint = INT_MIN + 5
}
 

Public Member Functions

 indexedCell ()
 
 indexedCell (Vertex_handle v0, Vertex_handle v1, Vertex_handle v2, Vertex_handle v3)
 
 indexedCell (Vertex_handle v0, Vertex_handle v1, Vertex_handle v2, Vertex_handle v3, Cell_handle n0, Cell_handle n1, Cell_handle n2, Cell_handle n3)
 
Foam::label & cellIndex ()
 
Foam::label cellIndex () const
 
const Foam::point dual ()
 
bool unassigned () const
 
int & filterCount ()
 
int filterCount () const
 
bool real () const
 Is the Delaunay cell real, i.e. any real vertex. More...
 
bool hasFarPoint () const
 Does the Delaunay cell have a far point. More...
 
bool hasReferredPoint () const
 Does the Delaunay cell have a referred point. More...
 
bool hasFeaturePoint () const
 Does the Delaunay cell have a feature point. More...
 
bool hasSeedPoint () const
 Does the Delaunay cell have a seed point. More...
 
bool hasInternalPoint () const
 
bool hasBoundaryPoint () const
 
bool hasConstrainedPoint () const
 
bool parallelDualVertex () const
 Does the Dual vertex form part of a processor patch. More...
 
Foam::label vertexLowestProc () const
 
Foam::tetCell vertexGlobalIndices (const Foam::globalIndex &globalDelaunayVertexIndices) const
 Using the globalIndex object, return a list of four (sorted) global. More...
 
Foam::FixedList< Foam::label, 4 > globallyOrderedCellVertices (const Foam::globalIndex &globalDelaunayVertexIndices) const
 Using the globalIndex object, return a list of four vertices with. More...
 
bool internalOrBoundaryDualVertex () const
 Is the Delaunay cell part of the final dual mesh, i.e. any vertex. More...
 
bool anyInternalOrBoundaryDualVertex () const
 Is the Delaunay cell real or referred (or mixed), i.e. all vertices. More...
 
bool boundaryDualVertex () const
 A dual vertex on the boundary will result from a Delaunay cell with. More...
 
bool baffleSurfaceDualVertex () const
 
bool baffleEdgeDualVertex () const
 
bool featureEdgeDualVertex () const
 A dual vertex on a feature edge will result from this Delaunay cell. More...
 
bool featurePointDualVertex () const
 A dual vertex on a feature point will result from this Delaunay cell. More...
 
bool nearProcBoundary () const
 
bool potentialCoplanarCell () const
 
bool featurePointExternalCell () const
 
bool featurePointInternalCell () const
 
Foam::InfoProxy< indexedCell< Gt, Cb > > info () const
 Return info proxy. More...
 

Friends

Foam::OstreamFoam::operator (Foam::Ostream &, const Foam::InfoProxy< indexedCell< Gt, Cb > > &)
 

Additional Inherited Members

- Static Public Attributes inherited from indexedCellEnum
static const Enum< cellTypescellTypesNames_
 

Detailed Description

template<class Gt, class Cb = CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3<Gt>>
class CGAL::indexedCell< Gt, Cb >

An indexed form of CGAL::Triangulation_cell_base_3<K> used to keep track of the Delaunay cells (tets) in the tessellation.

Source files

Definition at line 91 of file indexedCell.H.

Member Typedef Documentation

◆ Tds

typedef Cb::Triangulation_data_structure Tds

Definition at line 124 of file indexedCell.H.

◆ Vertex_handle

Definition at line 125 of file indexedCell.H.

◆ Cell_handle

Definition at line 126 of file indexedCell.H.

Constructor & Destructor Documentation

◆ indexedCell() [1/3]

indexedCell
inline

Definition at line 56 of file indexedCellI.H.

◆ indexedCell() [2/3]

indexedCell ( Vertex_handle  v0,
Vertex_handle  v1,
Vertex_handle  v2,
Vertex_handle  v3 
)
inline

Definition at line 65 of file indexedCellI.H.

◆ indexedCell() [3/3]

Definition at line 77 of file indexedCellI.H.

Member Function Documentation

◆ cellIndex() [1/2]

Foam::label & cellIndex
inline

Definition at line 98 of file indexedCellI.H.

◆ cellIndex() [2/2]

Foam::label cellIndex
inline

Definition at line 105 of file indexedCellI.H.

◆ dual()

const Foam::point dual
inline

Definition at line 122 of file indexedCellI.H.

◆ unassigned()

bool unassigned
inline

Definition at line 138 of file indexedCellI.H.

◆ filterCount() [1/2]

int & filterCount
inline

Definition at line 145 of file indexedCellI.H.

◆ filterCount() [2/2]

int filterCount
inline

Definition at line 152 of file indexedCellI.H.

◆ real()

bool real
inline

Is the Delaunay cell real, i.e. any real vertex.

Definition at line 159 of file indexedCellI.H.

◆ hasFarPoint()

bool hasFarPoint
inline

Does the Delaunay cell have a far point.

Definition at line 181 of file indexedCellI.H.

◆ hasReferredPoint()

bool hasReferredPoint
inline

Does the Delaunay cell have a referred point.

Definition at line 194 of file indexedCellI.H.

◆ hasFeaturePoint()

bool hasFeaturePoint
inline

Does the Delaunay cell have a feature point.

Definition at line 207 of file indexedCellI.H.

◆ hasSeedPoint()

bool hasSeedPoint
inline

Does the Delaunay cell have a seed point.

Definition at line 220 of file indexedCellI.H.

◆ hasInternalPoint()

bool hasInternalPoint
inline

Definition at line 233 of file indexedCellI.H.

◆ hasBoundaryPoint()

bool hasBoundaryPoint
inline

Definition at line 246 of file indexedCellI.H.

◆ hasConstrainedPoint()

bool hasConstrainedPoint
inline

Definition at line 259 of file indexedCellI.H.

◆ parallelDualVertex()

bool parallelDualVertex
inline

Does the Dual vertex form part of a processor patch.

Definition at line 272 of file indexedCellI.H.

◆ vertexLowestProc()

Foam::label vertexLowestProc
inline

Definition at line 296 of file indexedCellI.H.

◆ vertexGlobalIndices()

Foam::tetCell vertexGlobalIndices ( const Foam::globalIndex globalDelaunayVertexIndices) const
inline

Using the globalIndex object, return a list of four (sorted) global.

Delaunay vertex indices that uniquely identify this tet in parallel

Definition at line 313 of file indexedCellI.H.

References FixedList< T, N >::size().

Here is the call graph for this function:

◆ globallyOrderedCellVertices()

Foam::FixedList< Foam::label, 4 > globallyOrderedCellVertices ( const Foam::globalIndex globalDelaunayVertexIndices) const
inline

Using the globalIndex object, return a list of four vertices with.

so that the cell has a consistent orientation in parallel.

Definition at line 340 of file indexedCellI.H.

References Foam::identity(), and FixedList< T, N >::size().

Here is the call graph for this function:

◆ internalOrBoundaryDualVertex()

bool internalOrBoundaryDualVertex
inline

Is the Delaunay cell part of the final dual mesh, i.e. any vertex.

form part of the internal or boundary definition

Definition at line 374 of file indexedCellI.H.

◆ anyInternalOrBoundaryDualVertex()

bool anyInternalOrBoundaryDualVertex
inline

Is the Delaunay cell real or referred (or mixed), i.e. all vertices.

form part of the real or referred internal or boundary definition

Definition at line 387 of file indexedCellI.H.

◆ boundaryDualVertex()

bool boundaryDualVertex
inline

A dual vertex on the boundary will result from a Delaunay cell with.

least one Delaunay vertex outside and at least one inside

Definition at line 404 of file indexedCellI.H.

◆ baffleSurfaceDualVertex()

bool baffleSurfaceDualVertex
inline

Definition at line 447 of file indexedCellI.H.

◆ baffleEdgeDualVertex()

bool baffleEdgeDualVertex
inline

Definition at line 468 of file indexedCellI.H.

◆ featureEdgeDualVertex()

bool featureEdgeDualVertex
inline

A dual vertex on a feature edge will result from this Delaunay cell.

Definition at line 489 of file indexedCellI.H.

◆ featurePointDualVertex()

bool featurePointDualVertex
inline

A dual vertex on a feature point will result from this Delaunay cell.

Definition at line 527 of file indexedCellI.H.

◆ nearProcBoundary()

bool nearProcBoundary
inline

Definition at line 540 of file indexedCellI.H.

◆ potentialCoplanarCell()

bool potentialCoplanarCell
inline

Definition at line 553 of file indexedCellI.H.

References Foam::vectorTools::areParallel(), Foam::endl(), Foam::Pout, and Foam::Zero.

Here is the call graph for this function:

◆ featurePointExternalCell()

bool featurePointExternalCell
inline

Definition at line 643 of file indexedCellI.H.

◆ featurePointInternalCell()

bool featurePointInternalCell
inline

Definition at line 705 of file indexedCellI.H.

◆ info()

Foam::InfoProxy< indexedCell< Gt, Cb > > info ( ) const
inline

Return info proxy.

Used to print indexedCell information to a stream

Definition at line 252 of file indexedCell.H.

Friends And Related Function Documentation

◆ Foam::operator

Foam::Ostream & Foam::operator ( Foam::Ostream ,
const Foam::InfoProxy< indexedCell< Gt, Cb > > &   
)
friend

The documentation for this class was generated from the following files: