Ported Polygon->is_valid() and ExPolygon->is_valid()

This commit is contained in:
Alessandro Ranellucci 2013-08-26 23:27:51 +02:00
parent da0b85c0d9
commit fe42427a54
13 changed files with 37 additions and 54 deletions

View file

@ -20,6 +20,7 @@ class ExPolygon
void translate(double x, double y);
void rotate(double angle, Point* center);
double area() const;
bool is_valid() const;
};
typedef std::vector<ExPolygon> ExPolygons;