diff --git a/src/ifcgeom/schema/mapping.cpp b/src/ifcgeom/schema/mapping.cpp index d904f9e5d9..748339388f 100644 --- a/src/ifcgeom/schema/mapping.cpp +++ b/src/ifcgeom/schema/mapping.cpp @@ -155,6 +155,26 @@ taxonomy::item* mapping::map(const IfcSchema::IfcAxis2Placement3D* inst) { return new taxonomy::matrix4(); } +taxonomy::item* mapping::map(const IfcSchema::IfcCartesianTransformationOperator2DnonUniform* inst) { + // @todo length unit + return new taxonomy::matrix4(); +} + +taxonomy::item* mapping::map(const IfcSchema::IfcCartesianTransformationOperator3DnonUniform* inst) { + // @todo length unit + return new taxonomy::matrix4(); +} + +taxonomy::item* mapping::map(const IfcSchema::IfcCartesianTransformationOperator2D* inst) { + // @todo length unit + return new taxonomy::matrix4(); +} + +taxonomy::item* mapping::map(const IfcSchema::IfcCartesianTransformationOperator3D* inst) { + // @todo length unit + return new taxonomy::matrix4(); +} + IfcSchema::IfcProduct::list::ptr mapping::products_represented_by(const IfcSchema::IfcRepresentation* representation) { IfcSchema::IfcProduct::list::ptr products(new IfcSchema::IfcProduct::list); @@ -361,7 +381,7 @@ void mapping::get_representations(std::vector& tasks, representations = file_->instances_by_type(); } - IfcSchema::IfcRepresentation::list::ptr ok_mapped_representations; + IfcSchema::IfcRepresentation::list::ptr ok_mapped_representations(new IfcSchema::IfcRepresentation::list); int task_index = 0; diff --git a/src/ifcgeom/schema/mapping.i b/src/ifcgeom/schema/mapping.i index 4fb8a158a7..eb6bf0b4f0 100644 --- a/src/ifcgeom/schema/mapping.i +++ b/src/ifcgeom/schema/mapping.i @@ -120,10 +120,10 @@ BIND(IfcExtrudedAreaSolid); // BIND(IfcAxis2Placement2D); BIND(IfcAxis2Placement3D); // BIND(IfcAxis1Placement); -// BIND(IfcCartesianTransformationOperator2DnonUniform); -// BIND(IfcCartesianTransformationOperator3DnonUniform); -// BIND(IfcCartesianTransformationOperator2D); -// BIND(IfcCartesianTransformationOperator3D); +BIND(IfcCartesianTransformationOperator2DnonUniform); +BIND(IfcCartesianTransformationOperator3DnonUniform); +BIND(IfcCartesianTransformationOperator2D); +BIND(IfcCartesianTransformationOperator3D); // BIND(IfcObjectPlacement); // BIND(IfcVector); // BIND(IfcPlane);