35#ifndef Foam_CGAL_indexedVertex_H
36#define Foam_CGAL_indexedVertex_H
39#include "CGAL/version.h"
40#if defined(CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1050211000)
41#define BOOST_BIND_GLOBAL_PLACEHOLDERS
43#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical"
44#pragma clang diagnostic ignored "-Wdeprecated-builtins"
45#pragma clang diagnostic ignored "-Wdeprecated-declarations"
49#include "CGAL/Triangulation_2.h"
58template<
class Gt,
class Vb>
61template<
class Gt,
class Vb>
68template<
class Gt,
class Vb>
76template<
class Gt,
class Vb>
88template<
class Gt,
class Vb=CGAL::Triangulation_vertex_base_2<Gt>>
150 inline int type()
const;
CGAL::indexedVertex< K > Vb
An indexed form of CGAL::Triangulation_vertex_base_3<K> used to keep track of the Delaunay vertices i...
indexedVertex(const indexedVertex &)=default
Copy construct.
bool mirrorPoint() const
Is point a mirror point.
bool ppSlave() const
Slave of a pointPair is the highest numbered one.
friend bool pointPair(const indexedVertex< Gt, Vb > &v0, const indexedVertex< Gt, Vb > &v1)
Do the two given vertices constitute a boundary point-pair.
bool nearBoundary() const
Is point internal and near the boundary.
void setNearBoundary()
Set the point to be near the boundary.
bool farPoint() const
Is point a far-point.
indexedVertex(const Point &p)
bool internalOrBoundaryPoint() const
Either original internal point or master of pointPair.
CGAL::Triangulation_vertex_base_2< K >::Point Point
Tds::Vertex_handle Vertex_handle
bool nearOrOnBoundary() const
Is point near the boundary or part of the boundary definition.
friend bool boundaryTriangle(const indexedVertex< Gt, Vb > &v0, const indexedVertex< Gt, Vb > &v1, const indexedVertex< Gt, Vb > &v2)
Do the three given vertices constitute a boundary triangle.
indexedVertex(Face_handle f)
indexedVertex(const Point &p, const int index, const int &type)
bool ppMaster() const
Master of a pointPair is the lowest numbered one.
indexedVertex(const Point &p, Face_handle f)
bool internalPoint() const
Is point internal, i.e. not on boundary.
CGAL::Triangulation_vertex_base_2< K >::Face_handle Face_handle
friend bool outsideTriangle(const indexedVertex< Gt, Vb > &v0, const indexedVertex< Gt, Vb > &v1, const indexedVertex< Gt, Vb > &v2)
Do the three given vertices constitute an outside triangle.
bool pairPoint() const
Either master or slave of pointPair.
Specializations for CGAL-related routines.
bool outsideTriangle(const indexedVertex< Gt, Vb > &v0, const indexedVertex< Gt, Vb > &v1, const indexedVertex< Gt, Vb > &v2)
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)
Vb::template Rebind_TDS< TDS2 >::Other Vb2
indexedVertex< Gt, Vb2 > Other