mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
Merge branch 'master' into v0.6.0
This commit is contained in:
@@ -3360,13 +3360,19 @@ bool IfcGeom::Kernel::boolean_operation(const TopoDS_Shape& a, const TopTools_Li
|
||||
bounding_box_overlap(getValue(GV_PRECISION), a, b_, b);
|
||||
} else if (op == BOPAlgo_COMMON) {
|
||||
builder = new BRepAlgoAPI_Common();
|
||||
bounding_box_overlap(getValue(GV_PRECISION), a, b_, b);
|
||||
b = b_;
|
||||
} else if (op == BOPAlgo_FUSE) {
|
||||
builder = new BRepAlgoAPI_Fuse();
|
||||
b = b_;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (b.Extent() == 0) {
|
||||
result = a;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (fuzziness < 0.) {
|
||||
fuzziness = getValue(GV_PRECISION);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user