Fix another ommision with tree.select(extend)

This commit is contained in:
Thomas Krijnen
2021-09-17 11:18:32 +02:00
parent 3eb7c7a6a1
commit 721fe4729a
+1 -1
View File
@@ -220,7 +220,7 @@ namespace IfcGeom {
const TopoDS_Shape& B = shapes_.find(*it)->second;
if (extend > 0.0) {
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);
}
} else {