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 Types inherited from indexedVertexEnum | |
enum | vertexType { vtUnassigned = 0, vtInternal = 1, vtInternalNearBoundary = 2, vtInternalSurface = 3, vtInternalSurfaceBaffle = 4, vtExternalSurfaceBaffle = 5, vtInternalFeatureEdge = 6, vtInternalFeatureEdgeBaffle = 7, vtExternalFeatureEdgeBaffle = 8, vtInternalFeaturePoint = 9, vtExternalSurface = 10, vtExternalFeatureEdge = 11, vtExternalFeaturePoint = 12, vtFar = 13, vtConstrained = 14 } |
enum | vertexMotion { fixed = 0, movable = 1 } |
Public Member Functions | |
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::tensor & | alignment () |
const Foam::tensor & | alignment () const |
Foam::scalar & | targetCellSize () |
Foam::scalar | targetCellSize () const |
bool | farPoint () const |
Is point a far-point. More... | |
bool | internalPoint () const |
Is point internal, i.e. not on boundary. More... | |
bool | referred () const |
Is this a referred vertex. More... | |
bool | real () const |
Is this a "real" point on this processor, i.e. is internal or part. More... | |
int | procIndex () const |
int & | procIndex () |
void | setInternal () |
Set the point to be internal. More... | |
bool | nearBoundary () const |
Is point internal and near the boundary. More... | |
void | setNearBoundary () |
Set the point to be near the boundary. More... | |
bool | nearProcBoundary () const |
Is point internal and near a proc boundary. More... | |
void | setNearProcBoundary () |
Set the point to be near a proc boundary. More... | |
bool | boundaryPoint () const |
Either master or slave of pointPair. More... | |
bool | internalOrBoundaryPoint () const |
Either original internal point or master of pointPair. More... | |
bool | nearOrOnBoundary () const |
Is point near the boundary or part of the boundary definition. More... | |
bool | featurePoint () const |
Part of a feature point. More... | |
bool | featureEdgePoint () const |
Part of a feature edge. More... | |
bool | surfacePoint () const |
Part of a surface point pair. More... | |
bool | internalBoundaryPoint () const |
bool | internalBaffleSurfacePoint () const |
bool | internalBaffleEdgePoint () const |
bool | externalBoundaryPoint () const |
bool | externalBaffleSurfacePoint () const |
bool | externalBaffleEdgePoint () const |
bool | constrained () const |
bool | fixed () const |
Is the vertex fixed or movable. More... | |
bool & | fixed () |
Fix the vertex so that it can't be moved. More... | |
void | operator= (const indexedVertex &rhs) |
bool | operator== (const indexedVertex &rhs) const |
bool | operator!= (const indexedVertex &rhs) const |
Foam::InfoProxy< indexedVertex< Gt, Vb > > | info () const |
Return info proxy. More... | |
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 |
Is point a far-point. More... | |
bool | internalPoint () const |
Is point internal, i.e. not on boundary. More... | |
bool | nearBoundary () const |
Is point internal and near the boundary. More... | |
void | setNearBoundary () |
Set the point to be near the boundary. More... | |
bool | mirrorPoint () const |
Is point a mirror point. More... | |
bool | pairPoint () const |
Either master or slave of pointPair. More... | |
bool | ppMaster () const |
Master of a pointPair is the lowest numbered one. More... | |
bool | ppSlave () const |
Slave of a pointPair is the highest numbered one. More... | |
bool | internalOrBoundaryPoint () const |
Either original internal point or master of pointPair. More... | |
bool | nearOrOnBoundary () const |
Is point near the boundary or part of the boundary definition. More... | |
Friends | |
Foam::Ostream & | Foam::operator (Foam::Ostream &, const Foam::InfoProxy< indexedVertex< Gt, Vb >> &) |
Foam::Ostream & | Foam::operator (Foam::Ostream &, const indexedVertex< Gt, Vb > &) |
Foam::Istream & | Foam::operator>> (Foam::Istream &, indexedVertex< Gt, Vb > &) |
bool | pointPair (const indexedVertex< Gt, Vb > &v0, const indexedVertex< Gt, Vb > &v1) |
Do the two given vertices consitute a boundary point-pair. More... | |
bool | boundaryTriangle (const indexedVertex< Gt, Vb > &v0, const indexedVertex< Gt, Vb > &v1, const indexedVertex< Gt, Vb > &v2) |
Do the three given vertices consitute a boundary triangle. More... | |
bool | outsideTriangle (const indexedVertex< Gt, Vb > &v0, const indexedVertex< Gt, Vb > &v1, const indexedVertex< Gt, Vb > &v2) |
Do the three given vertices consitute an outside triangle. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from indexedVertexEnum | |
static const Foam::NamedEnum< vertexType, 15 > | vertexTypeNames_ |
static const Foam::NamedEnum< vertexMotion, 2 > | vertexMotionNames_ |
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.
Definition at line 51 of file indexedVertex.H.
typedef Vb::Triangulation_data_structure Tds |
Definition at line 131 of file indexedVertex.H.
Definition at line 132 of file indexedVertex.H.
typedef Tds::Vertex_handle Vertex_handle |
Definition at line 133 of file indexedVertex.H.
typedef Tds::Cell_handle Cell_handle |
Definition at line 134 of file indexedVertex.H.
typedef Vb::Vertex_handle Vertex_handle |
Definition at line 103 of file indexedVertex.H.
typedef Vb::Face_handle Face_handle |
Definition at line 104 of file indexedVertex.H.
Definition at line 105 of file indexedVertex.H.
enum pointTypes |
Enumerator | |
---|---|
NEAR_BOUNDARY_POINT | |
INTERNAL_POINT | |
MIRROR_POINT | |
FAR_POINT |
Definition at line 95 of file indexedVertex.H.
|
inline |
Definition at line 31 of file indexedVertexI.H.
Referenced by indexedVertex< Gt, Vb >::indexedVertex().
|
inline |
Definition at line 44 of file indexedVertexI.H.
References indexedVertex< Gt, Vb >::indexedVertex().
|
inline |
Definition at line 58 of file indexedVertexI.H.
References indexedVertex< Gt, Vb >::indexedVertex().
|
inline |
Definition at line 75 of file indexedVertexI.H.
References indexedVertex< Gt, Vb >::indexedVertex().
|
inline |
Definition at line 92 of file indexedVertexI.H.
References indexedVertex< Gt, Vb >::indexedVertex().
|
inline |
Definition at line 111 of file indexedVertexI.H.
|
inline |
Definition at line 129 of file indexedVertexI.H.
|
inline |
Definition at line 142 of file indexedVertexI.H.
|
inline |
|
inline |
|
inline |
Definition at line 48 of file indexedVertexI.H.
|
inline |
Definition at line 61 of file indexedVertexI.H.
|
inline |
Definition at line 70 of file indexedVertexI.H.
References indexedVertex< Gt, Vb >::FAR_POINT, indexedVertex< Gt, Vb >::farPoint(), indexedVertex< Gt, Vb >::index(), indexedVertex< Gt, Vb >::INTERNAL_POINT, indexedVertex< Gt, Vb >::internalPoint(), indexedVertex< Gt, Vb >::NEAR_BOUNDARY_POINT, indexedVertex< Gt, Vb >::nearBoundary(), indexedVertex< Gt, Vb >::setNearBoundary(), and indexedVertex< Gt, Vb >::type().
|
inline |
Definition at line 157 of file indexedVertexI.H.
Referenced by indexedVertex< Gt, Vb >::indexedVertex(), indexedVertex< Gt, Vb >::operator=(), and indexedVertex< Gt, Vb >::operator==().
|
inline |
Definition at line 164 of file indexedVertexI.H.
|
inline |
Definition at line 172 of file indexedVertexI.H.
Referenced by indexedVertex< Gt, Vb >::indexedVertex(), indexedVertex< Gt, Vb >::operator=(), and indexedVertex< Gt, Vb >::operator==().
|
inline |
Definition at line 180 of file indexedVertexI.H.
|
inline |
Definition at line 187 of file indexedVertexI.H.
Referenced by indexedVertex< Gt, Vb >::operator=().
|
inline |
Definition at line 194 of file indexedVertexI.H.
|
inline |
Definition at line 201 of file indexedVertexI.H.
Referenced by indexedVertex< Gt, Vb >::operator=().
|
inline |
Definition at line 208 of file indexedVertexI.H.
|
inline |
Is point a far-point.
Definition at line 215 of file indexedVertexI.H.
References indexedVertexEnum::vtFar.
Referenced by indexedVertex< Gt, Vb >::boundaryPoint(), indexedVertex< Gt, Vb >::indexedVertex(), and CGAL::outsideTriangle().
|
inline |
Is point internal, i.e. not on boundary.
Definition at line 222 of file indexedVertexI.H.
References indexedVertexEnum::vtInternal, and indexedVertexEnum::vtInternalNearBoundary.
Referenced by indexedVertex< Gt, Vb >::indexedVertex(), indexedVertex< Gt, Vb >::internalOrBoundaryPoint(), indexedVertex< Gt, Vb >::ppSlave(), and indexedVertex< Gt, Vb >::real().
|
inline |
Is this a referred vertex.
Definition at line 229 of file indexedVertexI.H.
References UPstream::myProcNo().
Referenced by indexedVertex< Gt, Vb >::real().
|
inline |
Is this a "real" point on this processor, i.e. is internal or part.
of the boundary description, and not a "far" or "referred" point
Definition at line 242 of file indexedVertexI.H.
References indexedVertex< Gt, Vb >::boundaryPoint(), indexedVertex< Gt, Vb >::internalPoint(), and indexedVertex< Gt, Vb >::referred().
|
inline |
Definition at line 249 of file indexedVertexI.H.
Referenced by indexedVertex< Gt, Vb >::operator=(), and indexedVertex< Gt, Vb >::operator==().
|
inline |
Definition at line 256 of file indexedVertexI.H.
|
inline |
Set the point to be internal.
Definition at line 263 of file indexedVertexI.H.
References indexedVertexEnum::vtInternal.
|
inline |
Is point internal and near the boundary.
Definition at line 270 of file indexedVertexI.H.
References indexedVertexEnum::vtInternalNearBoundary.
Referenced by indexedVertex< Gt, Vb >::indexedVertex(), indexedVertex< Gt, Vb >::nearOrOnBoundary(), and indexedVertex< Gt, Vb >::ppSlave().
|
inline |
Set the point to be near the boundary.
Definition at line 277 of file indexedVertexI.H.
References indexedVertexEnum::vtInternalNearBoundary.
Referenced by indexedVertex< Gt, Vb >::indexedVertex().
|
inline |
Is point internal and near a proc boundary.
|
inline |
Set the point to be near a proc boundary.
|
inline |
Either master or slave of pointPair.
Definition at line 284 of file indexedVertexI.H.
References indexedVertex< Gt, Vb >::farPoint(), and indexedVertexEnum::vtInternalSurface.
Referenced by indexedVertex< Gt, Vb >::nearOrOnBoundary(), and indexedVertex< Gt, Vb >::real().
|
inline |
Either original internal point or master of pointPair.
Definition at line 291 of file indexedVertexI.H.
References indexedVertex< Gt, Vb >::internalBoundaryPoint(), and indexedVertex< Gt, Vb >::internalPoint().
Referenced by indexedVertex< Gt, Vb >::ppSlave().
|
inline |
Is point near the boundary or part of the boundary definition.
Definition at line 298 of file indexedVertexI.H.
References indexedVertex< Gt, Vb >::boundaryPoint(), and indexedVertex< Gt, Vb >::nearBoundary().
Referenced by indexedVertex< Gt, Vb >::ppSlave().
|
inline |
Part of a feature point.
Definition at line 349 of file indexedVertexI.H.
References indexedVertexEnum::vtExternalFeaturePoint, and indexedVertexEnum::vtInternalFeaturePoint.
|
inline |
Part of a feature edge.
Definition at line 356 of file indexedVertexI.H.
References indexedVertexEnum::vtExternalFeatureEdge, and indexedVertexEnum::vtInternalFeatureEdge.
|
inline |
Part of a surface point pair.
Definition at line 363 of file indexedVertexI.H.
References indexedVertexEnum::vtExternalSurface, and indexedVertexEnum::vtInternalSurface.
|
inline |
Definition at line 305 of file indexedVertexI.H.
References indexedVertexEnum::vtInternalFeaturePoint, and indexedVertexEnum::vtInternalSurface.
Referenced by indexedVertex< Gt, Vb >::internalOrBoundaryPoint().
|
inline |
Definition at line 311 of file indexedVertexI.H.
References indexedVertexEnum::vtInternalSurfaceBaffle.
|
inline |
Definition at line 317 of file indexedVertexI.H.
References indexedVertexEnum::vtInternalFeatureEdgeBaffle.
|
inline |
Definition at line 323 of file indexedVertexI.H.
References indexedVertexEnum::vtExternalFeaturePoint, and indexedVertexEnum::vtExternalSurface.
|
inline |
Definition at line 329 of file indexedVertexI.H.
References indexedVertexEnum::vtExternalSurfaceBaffle.
|
inline |
Definition at line 335 of file indexedVertexI.H.
References indexedVertexEnum::vtExternalFeatureEdgeBaffle.
|
inline |
Definition at line 342 of file indexedVertexI.H.
References indexedVertexEnum::vtConstrained.
|
inline |
Is the vertex fixed or movable.
Definition at line 370 of file indexedVertexI.H.
Referenced by indexedVertex< Gt, Vb >::operator=(), and indexedVertex< Gt, Vb >::operator==().
|
inline |
Fix the vertex so that it can't be moved.
Definition at line 377 of file indexedVertexI.H.
|
inline |
Definition at line 260 of file indexedVertex.H.
References indexedVertex< Gt, Vb >::alignment(), indexedVertex< Gt, Vb >::fixed(), indexedVertex< Gt, Vb >::index(), indexedVertex< Gt, Vb >::procIndex(), indexedVertex< Gt, Vb >::targetCellSize(), and indexedVertex< Gt, Vb >::type().
|
inline |
Definition at line 272 of file indexedVertex.H.
References indexedVertex< Gt, Vb >::fixed(), indexedVertex< Gt, Vb >::index(), indexedVertex< Gt, Vb >::procIndex(), and indexedVertex< Gt, Vb >::type().
|
inline |
Definition at line 284 of file indexedVertex.H.
References Foam::contiguous().
|
inline |
Return info proxy.
Used to print indexedVertex information to a stream
Definition at line 294 of file indexedVertex.H.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Is point a far-point.
|
inline |
Is point internal, i.e. not on boundary.
|
inline |
Is point internal and near the boundary.
|
inline |
Set the point to be near the boundary.
|
inline |
Is point a mirror point.
Definition at line 137 of file indexedVertexI.H.
References indexedVertex< Gt, Vb >::MIRROR_POINT.
Referenced by indexedVertex< Gt, Vb >::ppSlave().
|
inline |
Either master or slave of pointPair.
Definition at line 144 of file indexedVertexI.H.
Referenced by CGAL::boundaryTriangle(), and indexedVertex< Gt, Vb >::ppSlave().
|
inline |
Master of a pointPair is the lowest numbered one.
Definition at line 151 of file indexedVertexI.H.
Referenced by indexedVertex< Gt, Vb >::ppSlave().
|
inline |
Slave of a pointPair is the highest numbered one.
Definition at line 165 of file indexedVertexI.H.
References indexedVertex< Gt, Vb >::internalOrBoundaryPoint(), indexedVertex< Gt, Vb >::internalPoint(), indexedVertex< Gt, Vb >::mirrorPoint(), indexedVertex< Gt, Vb >::nearBoundary(), indexedVertex< Gt, Vb >::nearOrOnBoundary(), indexedVertex< Gt, Vb >::pairPoint(), CGAL::pointPair(), and indexedVertex< Gt, Vb >::ppMaster().
Referenced by CGAL::outsideTriangle().
|
inline |
Either original internal point or master of pointPair.
|
inline |
Is point near the boundary or part of the boundary definition.
|
friend |
|
friend |
|
friend |
|
friend |
Do the two given vertices consitute a boundary point-pair.
Referenced by CGAL::boundaryTriangle().
|
friend |
Do the three given vertices consitute a boundary triangle.
|
friend |
Do the three given vertices consitute an outside triangle.