Some inlining optimizations.

This commit is contained in:
bubnikv 2016-09-13 09:46:41 +02:00
parent c443f49da3
commit 068f71847e
4 changed files with 3 additions and 14 deletions

View file

@ -78,12 +78,6 @@ Point::rotate(double angle, const Point &center)
this->y = (coord_t)round( (double)center.y + c * dy + s * dx );
}
bool
Point::coincides_with(const Point &point) const
{
return this->x == point.x && this->y == point.y;
}
bool
Point::coincides_with_epsilon(const Point &point) const
{