Commit 25d81b1f authored by laurence's avatar laurence
Browse files

ENH: foamyHexMesh: add hasBoundaryPoint() to indexedCell

parent 2545d882
......@@ -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
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment