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...

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 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 >> &)
 

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 58 of file indexedCell.H.

Member Typedef Documentation

◆ Tds

typedef Cb::Triangulation_data_structure Tds

Definition at line 117 of file indexedCell.H.

◆ Vertex_handle

Definition at line 118 of file indexedCell.H.

◆ Cell_handle

Definition at line 119 of file indexedCell.H.

Constructor & Destructor Documentation

◆ indexedCell() [1/3]

indexedCell ( )
inline

Definition at line 55 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 97 of file indexedCellI.H.

◆ cellIndex() [2/2]

Foam::label cellIndex ( ) const
inline

Definition at line 104 of file indexedCellI.H.

◆ dual()

const Foam::point dual ( )
inline

Definition at line 121 of file indexedCellI.H.

◆ unassigned()

bool unassigned ( ) const
inline

Definition at line 137 of file indexedCellI.H.

◆ filterCount() [1/2]

int & filterCount ( )
inline

Definition at line 144 of file indexedCellI.H.

◆ filterCount() [2/2]

int filterCount ( ) const
inline

Definition at line 151 of file indexedCellI.H.

◆ real()

bool real ( ) const
inline

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

Definition at line 158 of file indexedCellI.H.

References Foam::roots::real.

◆ hasFarPoint()

bool hasFarPoint ( ) const
inline

Does the Delaunay cell have a far point.

Definition at line 180 of file indexedCellI.H.

◆ hasReferredPoint()

bool hasReferredPoint ( ) const
inline

Does the Delaunay cell have a referred point.

Definition at line 193 of file indexedCellI.H.

◆ hasFeaturePoint()

bool hasFeaturePoint ( ) const
inline

Does the Delaunay cell have a feature point.

Definition at line 206 of file indexedCellI.H.

◆ hasSeedPoint()

bool hasSeedPoint ( ) const
inline

Does the Delaunay cell have a seed point.

Definition at line 219 of file indexedCellI.H.

◆ hasInternalPoint()

bool hasInternalPoint ( ) const
inline

Definition at line 232 of file indexedCellI.H.

◆ hasBoundaryPoint()

bool hasBoundaryPoint ( ) const
inline

Definition at line 245 of file indexedCellI.H.

◆ hasConstrainedPoint()

bool hasConstrainedPoint ( ) const
inline

Definition at line 258 of file indexedCellI.H.

◆ parallelDualVertex()

bool parallelDualVertex ( ) const
inline

Does the Dual vertex form part of a processor patch.

Definition at line 271 of file indexedCellI.H.

References Foam::roots::real.

◆ vertexLowestProc()

Foam::label vertexLowestProc ( ) const
inline

Definition at line 295 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 313 of file indexedCellI.H.

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

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(), FixedList< T, N >::size(), and Foam::Swap().

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 373 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 386 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 403 of file indexedCellI.H.

◆ baffleSurfaceDualVertex()

bool baffleSurfaceDualVertex ( ) const
inline

Definition at line 446 of file indexedCellI.H.

◆ baffleEdgeDualVertex()

bool baffleEdgeDualVertex ( ) const
inline

Definition at line 467 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 488 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 526 of file indexedCellI.H.

◆ nearProcBoundary()

bool nearProcBoundary ( ) const
inline

Definition at line 539 of file indexedCellI.H.

◆ potentialCoplanarCell()

bool potentialCoplanarCell ( ) const
inline

Definition at line 552 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 642 of file indexedCellI.H.

◆ featurePointInternalCell()

bool featurePointInternalCell ( ) const
inline

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