This commit is contained in:
Luis C. Pérez Tato
2020-11-08 12:30:10 +01:00
committed by Thomas Krijnen
parent 40e30eaa36
commit 09847513ab
+2 -2
View File
@@ -1697,7 +1697,7 @@ namespace {
}
k.remove_duplicate_points_from_loop(polygon, true);
if (polygon.Size() < 3) {
if (polygon.Length() < 3) {
return false;
}
@@ -1816,7 +1816,7 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcPolygonalFaceSet* pfs, TopoDS_
}
}
if (faces.Size() == 0) return false;
if (faces.IsEmpty() == 0) return false;
return create_solid_from_faces(faces, shape);
}