Process entities with the "Facetation" RepresentationIdentifier too

Fixed a bug in the rendering of IfcTrimmedCurve
Inverted the resulting transformation of IfcCartesianTransformationOperators
This commit is contained in:
Thomas Krijnen
2011-09-07 11:28:55 +00:00
parent d02eeac132
commit 1b9c9615d1
5 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ bool IfcGeom::convert(const Ifc2x3::IfcMappedItem::ptr l, TopoDS_Shape& shape) {
trsf2 = trsf2_2d;
}
if ( ! IfcGeom::convert_shape(map->MappedRepresentation(),shape) ) return false;
shape.Move(trsf2 * trsf1);
shape = shape.Moved(trsf2 * trsf1);
return !shape.IsNull();
}
bool IfcGeom::convert(const Ifc2x3::IfcShapeRepresentation::ptr l, TopoDS_Shape& shape) {