mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 14:06:32 +01:00
FIXME on ExPolygon::overlaps(), which should be commutative.
This commit is contained in:
1 parent
59017a7dae
commit
eef800b5c4
2 files changed
+3
-2
No files matched your search
@@ -84,6 +84,7 @@ public:
|
||||
float overhangs_area = 0.f;
|
||||
|
||||
bool overlaps(const Structure &rhs) const {
|
||||
//FIXME ExPolygon::overlaps() shall be commutative, it is not!
|
||||
return this->bbox.overlap(rhs.bbox) && (this->polygon->overlaps(*rhs.polygon) || rhs.polygon->overlaps(*this->polygon));
|
||||
}
|
||||
float overlap_area(const Structure &rhs) const {
|
||||
|
||||
Reference in new issue
Block a user