mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
manifold solid brep
This commit is contained in:
@@ -219,12 +219,20 @@ taxonomy::item* mapping::map_impl(const IfcSchema::IfcFaceBasedSurfaceModel* ins
|
|||||||
return map_to_collection(this, inst->FbsmFaces());
|
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) {
|
taxonomy::item* mapping::map_impl(const IfcSchema::IfcGeometricSet* inst) {
|
||||||
return map_to_collection(this, inst->Elements());
|
return map_to_collection(this, inst->Elements());
|
||||||
}
|
}
|
||||||
|
|
||||||
taxonomy::item* mapping::map_impl(const IfcSchema::IfcConnectedFaceSet* inst) {
|
taxonomy::item* mapping::map_impl(const IfcSchema::IfcConnectedFaceSet* inst) {
|
||||||
auto shell = map_to_collection<taxonomy::shell>(this, inst->CfsFaces());
|
auto shell = map_to_collection<taxonomy::shell>(this, inst->CfsFaces());
|
||||||
|
if (shell == nullptr) {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
shell->closed = inst->declaration().is(IfcSchema::IfcClosedShell::Class());
|
shell->closed = inst->declaration().is(IfcSchema::IfcClosedShell::Class());
|
||||||
return shell;
|
return shell;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ BIND(IfcMappedItem);
|
|||||||
// IfcAdvancedBrep included
|
// IfcAdvancedBrep included
|
||||||
// IfcFacetedBrepWithVoids included
|
// IfcFacetedBrepWithVoids included
|
||||||
// IfcAdvancedBrepWithVoids included
|
// IfcAdvancedBrepWithVoids included
|
||||||
// BIND(IfcManifoldSolidBrep);
|
BIND(IfcManifoldSolidBrep);
|
||||||
BIND(IfcGeometricSet);
|
BIND(IfcGeometricSet);
|
||||||
|
|
||||||
#ifdef SCHEMA_HAS_IfcCylindricalSurface
|
#ifdef SCHEMA_HAS_IfcCylindricalSurface
|
||||||
|
|||||||
Reference in New Issue
Block a user