Merge branch 'master' into v0.6.0

This commit is contained in:
Thomas Krijnen
2018-09-25 12:47:31 +02:00
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -409,7 +409,7 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcArbitraryProfileDefWithVoids*
}
ShapeFix_Shape sfs(mf.Face());
sfs.Perform();
face = TopoDS::Face(sfs.Shape());
face = sfs.Shape();
return true;
}
+8
View File
@@ -325,11 +325,19 @@ namespace {
Bnd_Box A;
BRepBndLib::Add(a, A);
if (A.IsVoid()) {
return;
}
TopTools_ListIteratorOfListOfShape it(b);
for (; it.More(); it.Next()) {
Bnd_Box B;
BRepBndLib::Add(it.Value(), B);
if (B.IsVoid()) {
continue;
}
if (A.Distance(B) < p) {
c.Append(it.Value());
}