Small changes to curve segment handling for purpose of wrapper

This commit is contained in:
Thomas Krijnen
2023-10-14 16:37:50 +02:00
parent 909978c941
commit 661c8bc50f
9 changed files with 43 additions and 13 deletions
@@ -88,9 +88,11 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCompositeCurve* inst) {
aggregate_of_instance::ptr profile = inst->data().getInverse(&IfcSchema::IfcProfileDef::Class(), -1);
const bool force_close = profile && profile->size() > 0;
loop->closed = force_close;
loop->instance = inst;
return loop;
}
else {
pwf->instance = inst;
return pwf;
}
}