More work to get Boost.Polygon to compile

This commit is contained in:
Alessandro Ranellucci
2014-01-09 19:56:12 +01:00
parent bf91f3096a
commit f9642786d3
8 changed files with 360 additions and 36 deletions

View File

@@ -21,6 +21,7 @@ class Point
coord_t x;
coord_t y;
explicit Point(coord_t _x = 0, coord_t _y = 0): x(_x), y(_y) {};
bool operator==(const Point& rhs) const;
void scale(double factor);
void translate(double x, double y);
void rotate(double angle, Point* center);