Work towards v1.0 data model with encapsulated weak_ptr as basis for instances

This commit is contained in:
Thomas Krijnen
2026-01-04 10:40:02 +01:00
parent f09ca658f1
commit 7098beb819
210 changed files with 28269 additions and 26471 deletions
@@ -23,10 +23,10 @@ using namespace ifcopenshell::geometry;
#ifdef SCHEMA_HAS_IfcCylindricalSurface
taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCylindricalSurface* inst) {
taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCylindricalSurface& inst) {
auto c = taxonomy::make<taxonomy::cylinder>();
c->radius = inst->Radius() * length_unit_;
c->matrix = taxonomy::cast<taxonomy::matrix4>(map(inst->Position()));
c->radius = inst.Radius() * length_unit_;
c->matrix = taxonomy::cast<taxonomy::matrix4>(map(inst.Position()));
return c;
}