Implements mapping of IfcCurveSegment to taxonomy::geometry

This commit is contained in:
Richard Brice
2023-09-22 13:52:48 -07:00
parent 3e272efce4
commit 6ae0cce186
2 changed files with 198 additions and 13 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCompositeCurve* inst) {
}
#ifdef SCHEMA_HAS_IfcCurveSegment
else if (segment->as<IfcSchema::IfcCurveSegment>()) {
auto crv = map(segment->as<IfcSchema::IfcCurveSegment>()->ParentCurve());
auto crv = map(segment->as<IfcSchema::IfcCurveSegment>());
for (auto& s : taxonomy::cast<taxonomy::loop>(crv)->children) {
loop->children.push_back(s);
}