Loading...
Searching...
No Matches
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...

#include <indexedCell.H>

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.
bool hasFarPoint () const
 Does the Delaunay cell have a far point.
bool hasReferredPoint () const
 Does the Delaunay cell have a referred point.
bool hasFeaturePoint () const
 Does the Delaunay cell have a feature point.
bool hasSeedPoint () const
 Does the Delaunay cell have a seed point.
bool hasInternalPoint () const
bool hasBoundaryPoint () const
bool hasConstrainedPoint () const
bool parallelDualVertex () const
 Does the Dual vertex form part of a processor patch.
Foam::label vertexLowestProc () const
Foam::tetCell vertexGlobalIndices (const Foam::globalIndex &globalDelaunayVertexIndices) const
 Using the globalIndex object, return a list of four (sorted) global.
Foam::FixedList< Foam::label, 4 > globallyOrderedCellVertices (const Foam::globalIndex &globalDelaunayVertexIndices) const
 Using the globalIndex object, return a list of four vertices with.
bool internalOrBoundaryDualVertex () const
 Is the Delaunay cell part of the final dual mesh, i.e. any vertex.
bool anyInternalOrBoundaryDualVertex () const
 Is the Delaunay cell real or referred (or mixed), i.e. all vertices.
bool boundaryDualVertex () const
 A dual vertex on the boundary will result from a Delaunay cell with.
bool baffleSurfaceDualVertex () const
bool baffleEdgeDualVertex () const
bool featureEdgeDualVertex () const
 A dual vertex on a feature edge will result from this Delaunay cell.
bool featurePointDualVertex () const
 A dual vertex on a feature point will result from this Delaunay cell.
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.

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

Member Typedef Documentation

◆ Tds

template<class Gt, class Cb = CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3<Gt>>
typedef Cb::Triangulation_data_structure Tds

Definition at line 131 of file indexedCell.H.

◆ Vertex_handle

template<class Gt, class Cb = CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3<Gt>>
typedef Cb::Vertex_handle Vertex_handle

Definition at line 132 of file indexedCell.H.

◆ Cell_handle

template<class Gt, class Cb = CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3<Gt>>
typedef Cb::Cell_handle Cell_handle

Definition at line 133 of file indexedCell.H.

Constructor & Destructor Documentation

◆ indexedCell() [1/3]

template<class Gt, class Cb>
indexedCell ( )
inline

Definition at line 49 of file indexedCellI.H.

References indexedCellEnum::ctUnassigned.

◆ indexedCell() [2/3]

template<class Gt, class Cb>
indexedCell ( Vertex_handle v0,
Vertex_handle v1,
Vertex_handle v2,
Vertex_handle v3 )
inline

Definition at line 58 of file indexedCellI.H.

References indexedCellEnum::ctUnassigned.

◆ indexedCell() [3/3]

template<class Gt, class Cb>
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 )
inline

Definition at line 70 of file indexedCellI.H.

References indexedCellEnum::ctUnassigned.

Member Function Documentation

◆ cellIndex() [1/2]

template<class Gt, class Cb>
Foam::label & cellIndex ( )
inline

Definition at line 91 of file indexedCellI.H.

◆ cellIndex() [2/2]

template<class Gt, class Cb>
Foam::label cellIndex ( ) const
inline

Definition at line 98 of file indexedCellI.H.

◆ dual()

template<class Gt, class Cb>
const Foam::point dual ( )
inline

Definition at line 115 of file indexedCellI.H.

◆ unassigned()

template<class Gt, class Cb>
bool unassigned ( ) const
inline

Definition at line 131 of file indexedCellI.H.

References indexedCellEnum::ctUnassigned.

◆ filterCount() [1/2]

template<class Gt, class Cb>
int & filterCount ( )
inline

Definition at line 138 of file indexedCellI.H.

◆ filterCount() [2/2]

template<class Gt, class Cb>
int filterCount ( ) const
inline

Definition at line 145 of file indexedCellI.H.

◆ real()

template<class Gt, class Cb>
bool real ( ) const
inline

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

Definition at line 152 of file indexedCellI.H.

References real().

Referenced by parallelDualVertex(), and real().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasFarPoint()

template<class Gt, class Cb>
bool hasFarPoint ( ) const
inline

Does the Delaunay cell have a far point.

Definition at line 174 of file indexedCellI.H.

Referenced by parallelDualVertex().

Here is the caller graph for this function:

◆ hasReferredPoint()

template<class Gt, class Cb>
bool hasReferredPoint ( ) const
inline

Does the Delaunay cell have a referred point.

Definition at line 187 of file indexedCellI.H.

◆ hasFeaturePoint()

template<class Gt, class Cb>
bool hasFeaturePoint ( ) const
inline

Does the Delaunay cell have a feature point.

Definition at line 200 of file indexedCellI.H.

◆ hasSeedPoint()

template<class Gt, class Cb>
bool hasSeedPoint ( ) const
inline

Does the Delaunay cell have a seed point.

Definition at line 213 of file indexedCellI.H.

◆ hasInternalPoint()

template<class Gt, class Cb>
bool hasInternalPoint ( ) const
inline

Definition at line 226 of file indexedCellI.H.

◆ hasBoundaryPoint()

template<class Gt, class Cb>
bool hasBoundaryPoint ( ) const
inline

Definition at line 239 of file indexedCellI.H.

◆ hasConstrainedPoint()

template<class Gt, class Cb>
bool hasConstrainedPoint ( ) const
inline

Definition at line 252 of file indexedCellI.H.

◆ parallelDualVertex()

template<class Gt, class Cb>
bool parallelDualVertex ( ) const
inline

Does the Dual vertex form part of a processor patch.

Definition at line 265 of file indexedCellI.H.

References hasFarPoint(), and real().

Here is the call graph for this function:

◆ vertexLowestProc()

template<class Gt, class Cb>
Foam::label vertexLowestProc ( ) const
inline

Definition at line 289 of file indexedCellI.H.

◆ vertexGlobalIndices()

template<class Gt, class Cb>
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 306 of file indexedCellI.H.

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

Here is the call graph for this function:

◆ globallyOrderedCellVertices()

template<class Gt, class Cb>
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 333 of file indexedCellI.H.

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

Here is the call graph for this function:

◆ internalOrBoundaryDualVertex()

template<class Gt, class Cb>
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()

template<class Gt, class Cb>
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()

template<class Gt, class Cb>
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()

template<class Gt, class Cb>
bool baffleSurfaceDualVertex ( ) const
inline

Definition at line 440 of file indexedCellI.H.

◆ baffleEdgeDualVertex()

template<class Gt, class Cb>
bool baffleEdgeDualVertex ( ) const
inline

Definition at line 461 of file indexedCellI.H.

◆ featureEdgeDualVertex()

template<class Gt, class Cb>
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()

template<class Gt, class Cb>
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()

template<class Gt, class Cb>
bool nearProcBoundary ( ) const
inline

Definition at line 533 of file indexedCellI.H.

References nearProcBoundary().

Referenced by nearProcBoundary().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ potentialCoplanarCell()

template<class Gt, class Cb>
bool potentialCoplanarCell ( ) const
inline

Definition at line 546 of file indexedCellI.H.

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

Here is the call graph for this function:

◆ featurePointExternalCell()

template<class Gt, class Cb>
bool featurePointExternalCell ( ) const
inline

Definition at line 636 of file indexedCellI.H.

◆ featurePointInternalCell()

template<class Gt, class Cb>
bool featurePointInternalCell ( ) const
inline

Definition at line 698 of file indexedCellI.H.

◆ info()

template<class Gt, class Cb = CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3<Gt>>
Foam::InfoProxy< indexedCell< Gt, Cb > > info ( ) const
inlinenoexcept

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

Definition at line 292 of file indexedCell.H.

◆ Foam::operator

template<class Gt, class Cb = CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3<Gt>>
Foam::Ostream & Foam::operator ( Foam::Ostream & ,
const Foam::InfoProxy< indexedCell< Gt, Cb > > &  )
friend

The documentation for this class was generated from the following files:
  • applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedCell/indexedCell.H
  • applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedCell/indexedCellI.H