40 #ifndef Foam_CGAL_indexedVertex_H 41 #define Foam_CGAL_indexedVertex_H 44 #include "CGAL/version.h" 45 #if defined(CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1050211000) 46 #define BOOST_BIND_GLOBAL_PLACEHOLDERS 48 #pragma clang diagnostic ignored "-Wbitwise-instead-of-logical" 52 #include "CGAL/Triangulation_3.h" 73 template<
class Gt,
class Vb> Ostream&
operator<<
79 template<
class Gt,
class Vb> Ostream&
operator<<
85 template<
class Gt,
class Vb> Istream&
operator>>
91 inline Istream&
operator>>
94 CGAL::Point_3<baseK>&
p 97 inline Ostream&
operator<<
100 const CGAL::Point_3<baseK>&
p 113 template<
class Gt,
class Vb = CGAL::Triangulation_vertex_base_3<Gt>>
136 Foam::scalar targetCellSize_;
144 typedef typename Vb::Triangulation_data_structure
Tds;
196 inline Foam::label&
index();
198 inline Foam::label
index()
const;
223 inline bool real()
const;
275 inline bool fixed()
const;
278 inline bool&
fixed();
288 this->type_ = rhs.type();
289 this->index_ = rhs.index();
290 this->processor_ = rhs.procIndex();
291 this->alignment_ = rhs.alignment();
292 this->targetCellSize_ = rhs.targetCellSize();
293 this->vertexFixed_ = rhs.fixed();
301 this->type_ == rhs.type()
302 && this->index_ == rhs.index()
303 && this->processor_ == rhs.procIndex()
304 && this->vertexFixed_ == rhs.fixed()
310 return !(*
this == rhs);
360 > : std::true_type {};
366 > : std::true_type {};
void setNearBoundary()
Set the point to be near the boundary.
bool boundaryPoint() const
Either master or slave of pointPair.
bool farPoint() const
Is point a far-point.
Vb::Triangulation_data_structure Tds
bool internalBaffleSurfacePoint() const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool internalPoint() const
Is point internal, i.e. not on boundary.
bool internalBaffleEdgePoint() const
void setInternal()
Set the point to be internal.
Tds::Cell_handle Cell_handle
Foam::scalar & targetCellSize()
void operator=(const indexedVertex &rhs)
Copy assignment.
bool nearOrOnBoundary() const
Is point near the boundary or part of the boundary definition.
An indexed form of CGAL::Triangulation_vertex_base_3<K> used to keep track of the Delaunay vertices i...
Specializations for CGAL-related routines.
bool externalBoundaryPoint() const
bool surfacePoint() const
Part of a surface point pair.
Foam::InfoProxy< indexedVertex< Gt, Vb > > info() const noexcept
Return info proxy, used to print information to a stream.
bool internalBoundaryPoint() const
bool real() const
Is this a "real" point on this processor, i.e. is internal or part.
friend Foam::Ostream & Foam::operator(Foam::Ostream &, const Foam::InfoProxy< indexedVertex< Gt, Vb >> &)
bool featureEdgePoint() const
Part of a feature edge.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool operator!=(const indexedVertex &rhs) const
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
bool operator==(const indexedVertex &rhs) const
OBJstream os(runTime.globalPath()/outputName)
Foam::tensor & alignment()
A helper class for outputting values to Ostream.
bool featurePoint() const
Part of a feature point.
bool externalBaffleEdgePoint() const
bool referred() const
Is this a referred vertex.
void setNearProcBoundary()
Set the point to be near a proc boundary.
bool fixed() const
Is the vertex fixed or movable.
Tds::Vertex_handle Vertex_handle
indexedVertex< Gt, Vb2 > Other
bool internalOrBoundaryPoint() const
Either original internal point or master of pointPair.
Tensor of scalars, i.e. Tensor<scalar>.
bool externalBaffleSurfacePoint() const
Vb::template Rebind_TDS< TDS2 >::Other Vb2
bool nearProcBoundary() const
Is point internal and near a proc boundary.
bool nearBoundary() const
Is point internal and near the boundary.