ENH: foamyHexMesh: add hasBoundaryPoint() to indexedCell

This commit is contained in:
laurence
2013-09-02 15:29:54 +01:00
parent 2545d88205
commit 25d81b1f71
2 changed files with 14 additions and 0 deletions

View File

@ -183,6 +183,7 @@ public:
inline bool hasSeedPoint() const;
inline bool hasInternalPoint() const;
inline bool hasBoundaryPoint() const;
inline bool hasConstrainedPoint() const;

View File

@ -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
{