mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Representation surface style initialization fix submitted by ckimmig
This commit is contained in:
@@ -35,10 +35,11 @@ namespace IfcGeom {
|
|||||||
IfcRepresentationShapeItem(const gp_GTrsf& placement, const TopoDS_Shape& shape, const SurfaceStyle* style)
|
IfcRepresentationShapeItem(const gp_GTrsf& placement, const TopoDS_Shape& shape, const SurfaceStyle* style)
|
||||||
: placement(placement), shape(shape), style(style) {}
|
: placement(placement), shape(shape), style(style) {}
|
||||||
IfcRepresentationShapeItem(const gp_GTrsf& placement, const TopoDS_Shape& shape)
|
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)
|
IfcRepresentationShapeItem(const TopoDS_Shape& shape, const SurfaceStyle* style)
|
||||||
: shape(shape), style(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); }
|
void move(const gp_GTrsf& trsf) { placement.Multiply(trsf); }
|
||||||
const TopoDS_Shape& Shape() const { return shape; }
|
const TopoDS_Shape& Shape() const { return shape; }
|
||||||
const gp_GTrsf& Placement() const { return placement; }
|
const gp_GTrsf& Placement() const { return placement; }
|
||||||
|
|||||||
Reference in New Issue
Block a user