manifold solid brep

This commit is contained in:
Thomas Krijnen
2020-02-01 11:15:40 +01:00
parent bca78e086d
commit 6b250b3ccf
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -219,12 +219,20 @@ taxonomy::item* mapping::map_impl(const IfcSchema::IfcFaceBasedSurfaceModel* ins
return map_to_collection(this, inst->FbsmFaces());
}
taxonomy::item* mapping::map_impl(const IfcSchema::IfcManifoldSolidBrep* inst) {
// @todo voids
return map(inst->Outer());
}
taxonomy::item* mapping::map_impl(const IfcSchema::IfcGeometricSet* inst) {
return map_to_collection(this, inst->Elements());
}
taxonomy::item* mapping::map_impl(const IfcSchema::IfcConnectedFaceSet* inst) {
auto shell = map_to_collection<taxonomy::shell>(this, inst->CfsFaces());
if (shell == nullptr) {
return nullptr;
}
shell->closed = inst->declaration().is(IfcSchema::IfcClosedShell::Class());
return shell;
}
+1 -1
View File
@@ -34,7 +34,7 @@ BIND(IfcMappedItem);
// IfcAdvancedBrep included
// IfcFacetedBrepWithVoids included
// IfcAdvancedBrepWithVoids included
// BIND(IfcManifoldSolidBrep);
BIND(IfcManifoldSolidBrep);
BIND(IfcGeometricSet);
#ifdef SCHEMA_HAS_IfcCylindricalSurface