diff options
author | neoraider <devnull@localhost> | 2007-11-01 00:03:04 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-11-01 00:03:04 +0100 |
commit | b478ad79508f5a06e8c0fc5937b28585c747fb04 (patch) | |
tree | 62253b031732435881d0611eca670086adc57d36 /Polygon.h | |
parent | bc2b34ead69f7fa1ef997308e0cff6123179f40e (diff) | |
download | zoomedit-b478ad79508f5a06e8c0fc5937b28585c747fb04.tar zoomedit-b478ad79508f5a06e8c0fc5937b28585c747fb04.zip |
zoomedit: Speichern jetzt m?glich.
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; |