1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-16 08:54:26 +00:00

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
+7 -1
View File
@@ -30,7 +30,13 @@ Point::rotate(double angle, Point* center)
bool
Point::coincides_with(const Point* point) const
{
return this->x == point->x && this->y == point->y;
return this->coincides_with(*point);
}
bool
Point::coincides_with(const Point &point) const
{
return this->x == point.x && this->y == point.y;
}
int