mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: foamyHexMesh: add hasBoundaryPoint() to indexedCell
This commit is contained in:
@ -183,6 +183,7 @@ public:
|
||||
inline bool hasSeedPoint() const;
|
||||
|
||||
inline bool hasInternalPoint() const;
|
||||
inline bool hasBoundaryPoint() const;
|
||||
|
||||
inline bool hasConstrainedPoint() const;
|
||||
|
||||
|
||||
@ -228,6 +228,19 @@ inline bool CGAL::indexedCell<Gt, Cb>::hasInternalPoint() const
|
||||
}
|
||||
|
||||
|
||||
template<class Gt, class Cb>
|
||||
inline bool CGAL::indexedCell<Gt, Cb>::hasBoundaryPoint() const
|
||||
{
|
||||
return
|
||||
(
|
||||
this->vertex(0)->boundaryPoint()
|
||||
|| this->vertex(1)->boundaryPoint()
|
||||
|| this->vertex(2)->boundaryPoint()
|
||||
|| this->vertex(3)->boundaryPoint()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
template<class Gt, class Cb>
|
||||
inline bool CGAL::indexedCell<Gt, Cb>::hasConstrainedPoint() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user