summaryrefslogtreecommitdiffstats
path: root/Polygon.h
diff options
context:
space:
mode:
Diffstat (limited to 'Polygon.h')
-rw-r--r--Polygon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Polygon.h b/Polygon.h
index e52206a..33ba873 100644
--- a/Polygon.h
+++ b/Polygon.h
@@ -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;