Merge branch 'master' into v0.6.0

# Conflicts:
#	src/ifcgeom/IfcGeomFunctions.cpp
#	src/ifcgeom/IfcGeomWires.cpp
This commit is contained in:
Thomas Krijnen
2018-09-21 12:02:22 +02:00
3 changed files with 186 additions and 136 deletions
+5
View File
@@ -108,6 +108,11 @@
bool IfcGeom::Kernel::convert(const IfcSchema::IfcFace* l, TopoDS_Shape& face) {
IfcSchema::IfcFaceBound::list::ptr bounds = l->Bounds();
// Fail on this early as it can cause issues later on
if (bounds->size() == 0) {
return false;
}
Handle(Geom_Surface) face_surface;
const bool is_face_surface = l->declaration().is(IfcSchema::IfcFaceSurface::Class());