mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 16:43:00 +00:00
#2095 take into account face-face distance on operand a
This commit is contained in:
@@ -5224,8 +5224,11 @@ bool IfcGeom::Kernel::boolean_operation(const TopoDS_Shape& a_input, const TopTo
|
|||||||
PERF("boolean operation: result min face-face dist check");
|
PERF("boolean operation: result min face-face dist check");
|
||||||
|
|
||||||
if ((v = min_face_face_distance(r, 1.e-4)) < 1.e-4) {
|
if ((v = min_face_face_distance(r, 1.e-4)) < 1.e-4) {
|
||||||
reason = 2;
|
// #2095 Check if this distance wasn't already realized in the input first operand.
|
||||||
success = false;
|
if (v < min_face_face_distance(a, 1.e-4)) {
|
||||||
|
reason = 2;
|
||||||
|
success = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user