Finished porting convex_hull() to XS and removed dependency on Math::ConvexHull::MonotoneChain

This commit is contained in:
Alessandro Ranellucci
2013-11-22 22:48:07 +01:00
parent 5309e3ef22
commit de9d5403e8
5 changed files with 21 additions and 7 deletions

View File

@@ -20,6 +20,7 @@ class Point
void scale(double factor);
void translate(double x, double y);
void rotate(double angle, Point* center);
bool coincides_with(const Point &point) const;
bool coincides_with(const Point* point) const;
int nearest_point_index(const Points points) const;
Point* nearest_point(Points points) const;