diff options
Diffstat (limited to 'Polygon.h')
-rw-r--r-- | Polygon.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -20,7 +20,6 @@ class Polygon : public std::vector<Vertex> { float signedArea() const; - Triangle::Direction getDirection() const; bool isConcave(const Triangle::Direction &dir, const Vertex &v1, const Vertex &v2, const Vertex &v3) const; bool intersections(std::vector<Intersection> *intersections = NULL) const; @@ -33,6 +32,8 @@ class Polygon : public std::vector<Vertex> { bool contains(const Vertex &v) const; bool intersects(const Line &l) const; + Triangle::Direction getDirection() const; + bool isSimple() const; bool simplify(std::list<Polygon> &polygons) const; |