7fd59977 |
1 | #include <StepShape_SolidReplica.ixx> |
2 | |
3 | |
4 | StepShape_SolidReplica::StepShape_SolidReplica () {} |
5 | |
6 | void StepShape_SolidReplica::Init( |
7 | const Handle(TCollection_HAsciiString)& aName) |
8 | { |
9 | |
10 | StepRepr_RepresentationItem::Init(aName); |
11 | } |
12 | |
13 | void StepShape_SolidReplica::Init( |
14 | const Handle(TCollection_HAsciiString)& aName, |
15 | const Handle(StepShape_SolidModel)& aParentSolid, |
16 | const Handle(StepGeom_CartesianTransformationOperator3d)& aTransformation) |
17 | { |
18 | // --- classe own fields --- |
19 | parentSolid = aParentSolid; |
20 | transformation = aTransformation; |
21 | // --- classe inherited fields --- |
22 | StepRepr_RepresentationItem::Init(aName); |
23 | } |
24 | |
25 | |
26 | void StepShape_SolidReplica::SetParentSolid(const Handle(StepShape_SolidModel)& aParentSolid) |
27 | { |
28 | parentSolid = aParentSolid; |
29 | } |
30 | |
31 | Handle(StepShape_SolidModel) StepShape_SolidReplica::ParentSolid() const |
32 | { |
33 | return parentSolid; |
34 | } |
35 | |
36 | void StepShape_SolidReplica::SetTransformation(const Handle(StepGeom_CartesianTransformationOperator3d)& aTransformation) |
37 | { |
38 | transformation = aTransformation; |
39 | } |
40 | |
41 | Handle(StepGeom_CartesianTransformationOperator3d) StepShape_SolidReplica::Transformation() const |
42 | { |
43 | return transformation; |
44 | } |