mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Removed the Point::coincides_with_epsilon() method
This commit is contained in:
parent
ab60d8adb4
commit
c5256bdd2c
3 changed files with 0 additions and 8 deletions
|
@ -28,11 +28,6 @@ void Point::rotate(double angle, const Point ¢er)
|
|||
(*this)(1) = (coord_t)round( (double)center(1) + c * dy + s * dx );
|
||||
}
|
||||
|
||||
bool Point::coincides_with_epsilon(const Point &point) const
|
||||
{
|
||||
return std::abs((*this)(0) - point(0)) < SCALED_EPSILON && std::abs((*this)(1) - point(1)) < SCALED_EPSILON;
|
||||
}
|
||||
|
||||
int Point::nearest_point_index(const Points &points) const
|
||||
{
|
||||
PointConstPtrs p;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue