mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Ported point_line_distance() and removed same_point()
This commit is contained in:
@@ -60,6 +60,12 @@ Line::coincides_with(const Line* line) const
|
||||
return this->a.coincides_with(&line->a) && this->b.coincides_with(&line->b);
|
||||
}
|
||||
|
||||
double
|
||||
Line::distance_to(const Point* point) const
|
||||
{
|
||||
return point->distance_to(this);
|
||||
}
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
void
|
||||
Line::from_SV(SV* line_sv)
|
||||
|
||||
Reference in New Issue
Block a user