mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-25 20:02:17 +00:00
Initial port of Brim ear gizmo
Cherry-picked from bambulab/BambuStudio@92c85a13d0 Co-authored-by: Mack <yongfang.bian@bambulab.com>
This commit is contained in:
@@ -185,6 +185,15 @@ bool overlaps(const ExPolygons& expolys1, const ExPolygons& expolys2)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool overlaps(const ExPolygons& expolys, const ExPolygon& expoly)
|
||||
{
|
||||
for (const ExPolygon& el : expolys) {
|
||||
if (el.overlaps(expoly))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Point projection_onto(const ExPolygons& polygons, const Point& from)
|
||||
{
|
||||
Point projected_pt;
|
||||
|
||||
Reference in New Issue
Block a user