Representation surface style initialization fix submitted by ckimmig

This commit is contained in:
Thomas Krijnen
2013-07-20 21:41:26 +00:00
parent 17ebefa158
commit d6693ff931
+3 -2
View File
@@ -35,10 +35,11 @@ namespace IfcGeom {
IfcRepresentationShapeItem(const gp_GTrsf& placement, const TopoDS_Shape& shape, const SurfaceStyle* style)
: placement(placement), shape(shape), style(style) {}
IfcRepresentationShapeItem(const gp_GTrsf& placement, const TopoDS_Shape& shape)
: placement(placement), shape(shape) {}
: placement(placement), shape(shape), style(0) {}
IfcRepresentationShapeItem(const TopoDS_Shape& shape, const SurfaceStyle* style)
: shape(shape), style(style) {}
IfcRepresentationShapeItem(const TopoDS_Shape& shape) : shape(shape) {}
IfcRepresentationShapeItem(const TopoDS_Shape& shape)
: shape(shape), style(0) {}
void move(const gp_GTrsf& trsf) { placement.Multiply(trsf); }
const TopoDS_Shape& Shape() const { return shape; }
const gp_GTrsf& Placement() const { return placement; }