Classes | Public Types | Public Member Functions | Friends | List of all members
indexedVertex Class Reference

An indexed form of CGAL::Triangulation_vertex_base_3<K> used to keep track of the Delaunay vertices in the tessellation. More...

Classes

struct  Rebind_TDS
 

Public Types

enum  pointTypes { NEAR_BOUNDARY_POINT = -4, INTERNAL_POINT = -3, MIRROR_POINT = -2, FAR_POINT = -1 }
 
typedef Vb::Triangulation_data_structure Tds
 
typedef Vb::Point Point
 
typedef Tds::Vertex_handle Vertex_handle
 
typedef Tds::Cell_handle Cell_handle
 
typedef Vb::Vertex_handle Vertex_handle
 
typedef Vb::Face_handle Face_handle
 
typedef Vb::Point Point
 

Public Member Functions

 indexedVertex (const indexedVertex &)=default
 
 indexedVertex ()
 
 indexedVertex (const Point &p)
 
 indexedVertex (const Point &p, vertexType type)
 
 indexedVertex (const Foam::point &p, vertexType type)
 
 indexedVertex (const Point &p, Foam::label index, vertexType type, int processor)
 
 indexedVertex (const Foam::point &p, Foam::label index, vertexType type, int processor)
 
 indexedVertex (const Point &p, Cell_handle f)
 
 indexedVertex (Cell_handle f)
 
Foam::label & index ()
 
Foam::label index () const
 
vertexType & type ()
 
vertexType type () const
 
Foam::tensoralignment ()
 
const Foam::tensoralignment () const
 
Foam::scalar & targetCellSize ()
 
Foam::scalar targetCellSize () const
 
bool farPoint () const
 
bool internalPoint () const
 
bool referred () const
 
bool real () const
 
int procIndex () const
 
int & procIndex ()
 
void setInternal ()
 
bool nearBoundary () const
 
void setNearBoundary ()
 
bool nearProcBoundary () const
 
void setNearProcBoundary ()
 
bool boundaryPoint () const
 
bool internalOrBoundaryPoint () const
 
bool nearOrOnBoundary () const
 
bool featurePoint () const
 
bool featureEdgePoint () const
 
bool surfacePoint () const
 
bool internalBoundaryPoint () const
 
bool internalBaffleSurfacePoint () const
 
bool internalBaffleEdgePoint () const
 
bool externalBoundaryPoint () const
 
bool externalBaffleSurfacePoint () const
 
bool externalBaffleEdgePoint () const
 
bool constrained () const
 
bool fixed () const
 
boolfixed ()
 
void operator= (const indexedVertex &rhs)
 
bool operator== (const indexedVertex &rhs) const
 
bool operator!= (const indexedVertex &rhs) const
 
Foam::InfoProxy< indexedVertex< Gt, Vb > > info () const
 
 indexedVertex ()
 
 indexedVertex (const Point &p)
 
 indexedVertex (const Point &p, const int index, const int &type)
 
 indexedVertex (const Point &p, Face_handle f)
 
 indexedVertex (Face_handle f)
 
int & index ()
 
int index () const
 
int & type ()
 
int type () const
 
bool farPoint () const
 
bool internalPoint () const
 
bool nearBoundary () const
 
void setNearBoundary ()
 
bool mirrorPoint () const
 
bool pairPoint () const
 
bool ppMaster () const
 
bool ppSlave () const
 
bool internalOrBoundaryPoint () const
 
bool nearOrOnBoundary () const
 

Friends

Foam::OstreamFoam::operator (Foam::Ostream &, const Foam::InfoProxy< indexedVertex< Gt, Vb >> &)
 
Foam::OstreamFoam::operator (Foam::Ostream &, const indexedVertex< Gt, Vb > &)
 
Foam::IstreamFoam::operator>> (Foam::Istream &, indexedVertex< Gt, Vb > &)
 
bool pointPair (const indexedVertex< Gt, Vb > &v0, const indexedVertex< Gt, Vb > &v1)
 
bool boundaryTriangle (const indexedVertex< Gt, Vb > &v0, const indexedVertex< Gt, Vb > &v1, const indexedVertex< Gt, Vb > &v2)
 
bool outsideTriangle (const indexedVertex< Gt, Vb > &v0, const indexedVertex< Gt, Vb > &v1, const indexedVertex< Gt, Vb > &v2)
 

Detailed Description

An indexed form of CGAL::Triangulation_vertex_base_3<K> used to keep track of the Delaunay vertices in the tessellation.

An indexed form of CGAL::Triangulation_vertex_base_2<K> used to keep track of the vertices in the triangulation.

Source files

Definition at line 50 of file indexedVertex.H.

Member Typedef Documentation

◆ Tds

typedef Vb::Triangulation_data_structure Tds

Definition at line 130 of file indexedVertex.H.

◆ Point [1/2]

typedef Vb::Point Point

Definition at line 131 of file indexedVertex.H.

◆ Vertex_handle [1/2]

typedef Tds::Vertex_handle Vertex_handle

Definition at line 132 of file indexedVertex.H.

◆ Cell_handle

typedef Tds::Cell_handle Cell_handle

Definition at line 133 of file indexedVertex.H.

◆ Vertex_handle [2/2]

Definition at line 99 of file indexedVertex.H.

◆ Face_handle

Definition at line 100 of file indexedVertex.H.

◆ Point [2/2]

typedef Vb::Point Point

Definition at line 101 of file indexedVertex.H.

Member Enumeration Documentation

◆ pointTypes

enum pointTypes
Enumerator
NEAR_BOUNDARY_POINT 
INTERNAL_POINT 
MIRROR_POINT 
FAR_POINT 

Definition at line 91 of file indexedVertex.H.

Constructor & Destructor Documentation

◆ indexedVertex() [1/14]

indexedVertex ( const indexedVertex )
default

◆ indexedVertex() [2/14]

indexedVertex ( )
inline

◆ indexedVertex() [3/14]

indexedVertex ( const Point p)
inline

◆ indexedVertex() [4/14]

indexedVertex ( const Point p,
vertexType  type 
)
inline

Definition at line 53 of file indexedVertexI.H.

◆ indexedVertex() [5/14]

indexedVertex ( const Foam::point p,
vertexType  type 
)
inline

Definition at line 70 of file indexedVertexI.H.

◆ indexedVertex() [6/14]

indexedVertex ( const Point p,
Foam::label  index,
vertexType  type,
int  processor 
)
inline

Definition at line 87 of file indexedVertexI.H.

◆ indexedVertex() [7/14]

indexedVertex ( const Foam::point p,
Foam::label  index,
vertexType  type,
int  processor 
)
inline

Definition at line 106 of file indexedVertexI.H.

◆ indexedVertex() [8/14]

indexedVertex ( const Point p,
Cell_handle  f 
)
inline

Definition at line 124 of file indexedVertexI.H.

◆ indexedVertex() [9/14]

indexedVertex ( Cell_handle  f)
inline

Definition at line 137 of file indexedVertexI.H.

◆ indexedVertex() [10/14]

indexedVertex ( )
inline

Definition at line 26 of file indexedVertexI.H.

◆ indexedVertex() [11/14]

indexedVertex ( const Point p)
inline

Definition at line 39 of file indexedVertexI.H.

◆ indexedVertex() [12/14]

indexedVertex ( const Point p,
const int  index,
const int &  type 
)
inline

Definition at line 44 of file indexedVertexI.H.

◆ indexedVertex() [13/14]

indexedVertex ( const Point p,
Face_handle  f 
)
inline

Definition at line 57 of file indexedVertexI.H.

◆ indexedVertex() [14/14]

indexedVertex ( Face_handle  f)
inline

Definition at line 66 of file indexedVertexI.H.

Member Function Documentation

◆ index() [1/4]

Foam::label& index ( )
inline

◆ index() [2/4]

Foam::label index ( ) const
inline

◆ type() [1/4]

vertexType& type ( )
inline

◆ type() [2/4]

vertexType type ( ) const
inline

◆ alignment() [1/2]

Foam::tensor & alignment ( )
inline

Definition at line 182 of file indexedVertexI.H.

◆ alignment() [2/2]

const Foam::tensor & alignment ( ) const
inline

Definition at line 189 of file indexedVertexI.H.

◆ targetCellSize() [1/2]

Foam::scalar & targetCellSize ( )
inline

Definition at line 196 of file indexedVertexI.H.

◆ targetCellSize() [2/2]

Foam::scalar targetCellSize ( ) const
inline

Definition at line 203 of file indexedVertexI.H.

◆ farPoint() [1/2]

bool farPoint ( ) const
inline

Referenced by CGAL::outsideTriangle().

Here is the caller graph for this function:

◆ internalPoint() [1/2]

bool internalPoint ( ) const
inline

◆ referred()

bool referred ( ) const
inline

Definition at line 224 of file indexedVertexI.H.

References UPstream::myProcNo().

Here is the call graph for this function:

◆ real()

bool real ( ) const
inline

Definition at line 237 of file indexedVertexI.H.

◆ procIndex() [1/2]

int procIndex ( ) const
inline

Definition at line 244 of file indexedVertexI.H.

◆ procIndex() [2/2]

int & procIndex ( )
inline

Definition at line 251 of file indexedVertexI.H.

◆ setInternal()

void setInternal ( )
inline

Definition at line 258 of file indexedVertexI.H.

◆ nearBoundary() [1/2]

bool nearBoundary ( ) const
inline

◆ setNearBoundary() [1/2]

void setNearBoundary ( )
inline

◆ nearProcBoundary()

bool nearProcBoundary ( ) const
inline

◆ setNearProcBoundary()

void setNearProcBoundary ( )
inline

◆ boundaryPoint()

bool boundaryPoint ( ) const
inline

Definition at line 279 of file indexedVertexI.H.

◆ internalOrBoundaryPoint() [1/2]

bool internalOrBoundaryPoint ( ) const
inline

◆ nearOrOnBoundary() [1/2]

bool nearOrOnBoundary ( ) const
inline

◆ featurePoint()

bool featurePoint ( ) const
inline

Definition at line 344 of file indexedVertexI.H.

◆ featureEdgePoint()

bool featureEdgePoint ( ) const
inline

Definition at line 351 of file indexedVertexI.H.

◆ surfacePoint()

bool surfacePoint ( ) const
inline

Definition at line 358 of file indexedVertexI.H.

◆ internalBoundaryPoint()

bool internalBoundaryPoint ( ) const
inline

Definition at line 300 of file indexedVertexI.H.

◆ internalBaffleSurfacePoint()

bool internalBaffleSurfacePoint ( ) const
inline

Definition at line 306 of file indexedVertexI.H.

◆ internalBaffleEdgePoint()

bool internalBaffleEdgePoint ( ) const
inline

Definition at line 312 of file indexedVertexI.H.

◆ externalBoundaryPoint()

bool externalBoundaryPoint ( ) const
inline

Definition at line 318 of file indexedVertexI.H.

◆ externalBaffleSurfacePoint()

bool externalBaffleSurfacePoint ( ) const
inline

Definition at line 324 of file indexedVertexI.H.

◆ externalBaffleEdgePoint()

bool externalBaffleEdgePoint ( ) const
inline

Definition at line 330 of file indexedVertexI.H.

◆ constrained()

bool constrained ( ) const
inline

Definition at line 337 of file indexedVertexI.H.

◆ fixed() [1/2]

bool fixed ( ) const
inline

Definition at line 365 of file indexedVertexI.H.

◆ fixed() [2/2]

bool & fixed ( )
inline

Definition at line 372 of file indexedVertexI.H.

◆ operator=()

void operator= ( const indexedVertex rhs)
inline

Definition at line 270 of file indexedVertex.H.

◆ operator==()

bool operator== ( const indexedVertex rhs) const
inline

Definition at line 282 of file indexedVertex.H.

◆ operator!=()

bool operator!= ( const indexedVertex rhs) const
inline

Definition at line 294 of file indexedVertex.H.

◆ info()

Foam::InfoProxy<indexedVertex<Gt, Vb> > info ( ) const
inline

Definition at line 303 of file indexedVertex.H.

◆ index() [3/4]

int & index ( )
inline

Definition at line 152 of file indexedVertexI.H.

◆ index() [4/4]

int index ( ) const
inline

Definition at line 159 of file indexedVertexI.H.

◆ type() [3/4]

int & type ( )
inline

Definition at line 167 of file indexedVertexI.H.

◆ type() [4/4]

int type ( ) const
inline

Definition at line 175 of file indexedVertexI.H.

◆ farPoint() [2/2]

bool farPoint ( ) const
inline

Definition at line 210 of file indexedVertexI.H.

◆ internalPoint() [2/2]

bool internalPoint ( ) const
inline

Definition at line 217 of file indexedVertexI.H.

◆ nearBoundary() [2/2]

bool nearBoundary ( ) const
inline

Definition at line 265 of file indexedVertexI.H.

◆ setNearBoundary() [2/2]

void setNearBoundary ( )
inline

Definition at line 272 of file indexedVertexI.H.

◆ mirrorPoint()

bool mirrorPoint ( ) const
inline

Definition at line 133 of file indexedVertexI.H.

◆ pairPoint()

bool pairPoint ( ) const
inline

Definition at line 140 of file indexedVertexI.H.

Referenced by CGAL::boundaryTriangle().

Here is the caller graph for this function:

◆ ppMaster()

bool ppMaster ( ) const
inline

Definition at line 147 of file indexedVertexI.H.

◆ ppSlave()

bool ppSlave ( ) const
inline

Definition at line 154 of file indexedVertexI.H.

Referenced by CGAL::outsideTriangle().

Here is the caller graph for this function:

◆ internalOrBoundaryPoint() [2/2]

bool internalOrBoundaryPoint ( ) const
inline

Definition at line 286 of file indexedVertexI.H.

◆ nearOrOnBoundary() [2/2]

bool nearOrOnBoundary ( ) const
inline

Definition at line 293 of file indexedVertexI.H.

Friends And Related Function Documentation

◆ Foam::operator [1/2]

Foam::Ostream& Foam::operator ( Foam::Ostream ,
const Foam::InfoProxy< indexedVertex< Gt, Vb >> &   
)
friend

◆ Foam::operator [2/2]

Foam::Ostream& Foam::operator ( Foam::Ostream ,
const indexedVertex< Gt, Vb > &   
)
friend

◆ Foam::operator>>

Foam::Istream& Foam::operator>> ( Foam::Istream ,
indexedVertex< Gt, Vb > &   
)
friend

◆ pointPair

bool pointPair ( const indexedVertex< Gt, Vb > &  v0,
const indexedVertex< Gt, Vb > &  v1 
)
friend

◆ boundaryTriangle

bool boundaryTriangle ( const indexedVertex< Gt, Vb > &  v0,
const indexedVertex< Gt, Vb > &  v1,
const indexedVertex< Gt, Vb > &  v2 
)
friend

◆ outsideTriangle

bool outsideTriangle ( const indexedVertex< Gt, Vb > &  v0,
const indexedVertex< Gt, Vb > &  v1,
const indexedVertex< Gt, Vb > &  v2 
)
friend

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