mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Refactoring: removed _islands members in Slic3r::GCode
This commit is contained in:
@@ -64,6 +64,24 @@ ExPolygonCollection::contains_point(const Point &point) const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
ExPolygonCollection::contains_line(const Line &line) const
|
||||
{
|
||||
for (ExPolygons::const_iterator it = this->expolygons.begin(); it != this->expolygons.end(); ++it) {
|
||||
if (it->contains_line(line)) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
ExPolygonCollection::contains_polyline(const Polyline &polyline) const
|
||||
{
|
||||
for (ExPolygons::const_iterator it = this->expolygons.begin(); it != this->expolygons.end(); ++it) {
|
||||
if (it->contains_polyline(polyline)) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
ExPolygonCollection::simplify(double tolerance)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user