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 >:
Collaboration diagram for indexedCell< Gt, Cb >:

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 noexcept
 Return info proxy, used to print information to a stream. 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 62 of file indexedCell.H.

Member Typedef Documentation

◆ Tds

typedef Cb::Triangulation_data_structure Tds

Definition at line 129 of file indexedCell.H.

◆ Vertex_handle

Definition at line 130 of file indexedCell.H.

◆ Cell_handle

Definition at line 131 of file indexedCell.H.

Constructor & Destructor Documentation

◆ indexedCell() [1/3]

indexedCell ( )
inline

Definition at line 49 of file indexedCellI.H.

◆ indexedCell() [2/3]

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

Definition at line 59 of file indexedCellI.H.

◆ indexedCell() [3/3]

Definition at line 71 of file indexedCellI.H.

Member Function Documentation

◆ cellIndex() [1/2]

Foam::label & cellIndex ( )
inline

Definition at line 91 of file indexedCellI.H.

◆ cellIndex() [2/2]

Foam::label cellIndex ( ) const
inline

Definition at line 98 of file indexedCellI.H.

◆ dual()

const Foam::point dual ( )
inline

Definition at line 115 of file indexedCellI.H.

◆ unassigned()

bool unassigned ( ) const
inline

Definition at line 131 of file indexedCellI.H.

◆ filterCount() [1/2]

int & filterCount ( )
inline

Definition at line 138 of file indexedCellI.H.

◆ filterCount() [2/2]

int filterCount ( ) const
inline

Definition at line 145 of file indexedCellI.H.

◆ real()

bool real ( ) const
inline

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

Definition at line 152 of file indexedCellI.H.

References Foam::roots::real.

◆ hasFarPoint()

bool hasFarPoint ( ) const
inline

Does the Delaunay cell have a far point.

Definition at line 174 of file indexedCellI.H.

◆ hasReferredPoint()

bool hasReferredPoint ( ) const
inline

Does the Delaunay cell have a referred point.

Definition at line 187 of file indexedCellI.H.

◆ hasFeaturePoint()

bool hasFeaturePoint ( ) const
inline

Does the Delaunay cell have a feature point.

Definition at line 200 of file indexedCellI.H.

◆ hasSeedPoint()

bool hasSeedPoint ( ) const
inline

Does the Delaunay cell have a seed point.

Definition at line 213 of file indexedCellI.H.

◆ hasInternalPoint()

bool hasInternalPoint ( ) const
inline

Definition at line 226 of file indexedCellI.H.

◆ hasBoundaryPoint()

bool hasBoundaryPoint ( ) const
inline

Definition at line 239 of file indexedCellI.H.

◆ hasConstrainedPoint()

bool hasConstrainedPoint ( ) const
inline

Definition at line 252 of file indexedCellI.H.

◆ parallelDualVertex()

bool parallelDualVertex ( ) const
inline

Does the Dual vertex form part of a processor patch.

Definition at line 265 of file indexedCellI.H.

References Foam::roots::real.

◆ vertexLowestProc()

Foam::label vertexLowestProc ( ) const
inline

Definition at line 289 of file indexedCellI.H.

References Foam::min().

Here is the call graph for this function:

◆ 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 307 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 334 of file indexedCellI.H.

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

Here is the call graph for this function:

◆ internalOrBoundaryDualVertex()

bool internalOrBoundaryDualVertex ( ) const
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 367 of file indexedCellI.H.

◆ anyInternalOrBoundaryDualVertex()

bool anyInternalOrBoundaryDualVertex ( ) const
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 380 of file indexedCellI.H.

◆ boundaryDualVertex()

bool boundaryDualVertex ( ) const
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 397 of file indexedCellI.H.

◆ baffleSurfaceDualVertex()

bool baffleSurfaceDualVertex ( ) const
inline

Definition at line 440 of file indexedCellI.H.

◆ baffleEdgeDualVertex()

bool baffleEdgeDualVertex ( ) const
inline

Definition at line 461 of file indexedCellI.H.

◆ featureEdgeDualVertex()

bool featureEdgeDualVertex ( ) const
inline

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

Definition at line 482 of file indexedCellI.H.

◆ featurePointDualVertex()

bool featurePointDualVertex ( ) const
inline

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

Definition at line 520 of file indexedCellI.H.

◆ nearProcBoundary()

bool nearProcBoundary ( ) const
inline

Definition at line 533 of file indexedCellI.H.

◆ potentialCoplanarCell()

bool potentialCoplanarCell ( ) const
inline

Definition at line 546 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 ( ) const
inline

Definition at line 636 of file indexedCellI.H.

◆ featurePointInternalCell()

bool featurePointInternalCell ( ) const
inline

Definition at line 698 of file indexedCellI.H.

◆ info()

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

Return info proxy, used to print information to a stream.

Definition at line 290 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: