Declare conversions for reuse detection

This commit is contained in:
Thomas Krijnen
2019-08-24 17:36:17 +02:00
parent 94aa7dfab4
commit 2f1861db7b
2 changed files with 25 additions and 5 deletions
+21 -1
View File
@@ -155,6 +155,26 @@ taxonomy::item* mapping::map(const IfcSchema::IfcAxis2Placement3D* inst) {
return new taxonomy::matrix4(); 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 mapping::products_represented_by(const IfcSchema::IfcRepresentation* representation) {
IfcSchema::IfcProduct::list::ptr products(new IfcSchema::IfcProduct::list); IfcSchema::IfcProduct::list::ptr products(new IfcSchema::IfcProduct::list);
@@ -361,7 +381,7 @@ void mapping::get_representations(std::vector<geometry_conversion_task>& tasks,
representations = file_->instances_by_type<IfcSchema::IfcRepresentation>(); representations = file_->instances_by_type<IfcSchema::IfcRepresentation>();
} }
IfcSchema::IfcRepresentation::list::ptr ok_mapped_representations; IfcSchema::IfcRepresentation::list::ptr ok_mapped_representations(new IfcSchema::IfcRepresentation::list);
int task_index = 0; int task_index = 0;
+4 -4
View File
@@ -120,10 +120,10 @@ BIND(IfcExtrudedAreaSolid);
// BIND(IfcAxis2Placement2D); // BIND(IfcAxis2Placement2D);
BIND(IfcAxis2Placement3D); BIND(IfcAxis2Placement3D);
// BIND(IfcAxis1Placement); // BIND(IfcAxis1Placement);
// BIND(IfcCartesianTransformationOperator2DnonUniform); BIND(IfcCartesianTransformationOperator2DnonUniform);
// BIND(IfcCartesianTransformationOperator3DnonUniform); BIND(IfcCartesianTransformationOperator3DnonUniform);
// BIND(IfcCartesianTransformationOperator2D); BIND(IfcCartesianTransformationOperator2D);
// BIND(IfcCartesianTransformationOperator3D); BIND(IfcCartesianTransformationOperator3D);
// BIND(IfcObjectPlacement); // BIND(IfcObjectPlacement);
// BIND(IfcVector); // BIND(IfcVector);
// BIND(IfcPlane); // BIND(IfcPlane);