Ported Polygon->split_at()

This commit is contained in:
Alessandro Ranellucci 2013-08-26 22:39:35 +02:00
parent f8ac3aa68f
commit 1f734807b9
7 changed files with 19 additions and 20 deletions

View file

@ -26,7 +26,7 @@ Point::rotate(double angle, Point* center)
}
bool
Point::coincides_with(Point* point)
Point::coincides_with(const Point* point) const
{
return this->x == point->x && this->y == point->y;
}