Ported ExPolygon->area()

This commit is contained in:
Alessandro Ranellucci 2013-08-26 22:50:26 +02:00
parent 792fcba7be
commit 706851f836
7 changed files with 19 additions and 12 deletions

View file

@ -16,8 +16,8 @@ class Polygon : public MultiPoint {
Polyline* split_at(const Point* point);
Polyline* split_at_index(int index);
Polyline* split_at_first_point();
double area();
bool is_counter_clockwise();
double area() const;
bool is_counter_clockwise() const;
bool make_counter_clockwise();
bool make_clockwise();
};