mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
More unfinished work
This commit is contained in:
@@ -87,6 +87,12 @@ Polyline::equally_spaced_points(double distance) const
|
||||
return pts;
|
||||
}
|
||||
|
||||
void
|
||||
Polyline::simplify(double tolerance)
|
||||
{
|
||||
this->points = MultiPoint::_douglas_peucker(this->points, tolerance);
|
||||
}
|
||||
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
SV*
|
||||
|
||||
Reference in New Issue
Block a user