mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 02:31:09 +00:00
Fix another ommision with tree.select(extend)
This commit is contained in:
@@ -220,7 +220,7 @@ namespace IfcGeom {
|
|||||||
const TopoDS_Shape& B = shapes_.find(*it)->second;
|
const TopoDS_Shape& B = shapes_.find(*it)->second;
|
||||||
if (extend > 0.0) {
|
if (extend > 0.0) {
|
||||||
BRepExtrema_DistShapeShape dss(v, B);
|
BRepExtrema_DistShapeShape dss(v, B);
|
||||||
if (dss.Perform() && dss.NbSolution() >= 1) {
|
if (dss.Perform() && dss.NbSolution() >= 1 && dss.Value() <= extend) {
|
||||||
ts_filtered.push_back(*it);
|
ts_filtered.push_back(*it);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user