7fd59977 |
1 | #include <StepGeom_ElementarySurface.ixx> |
2 | |
3 | |
4 | StepGeom_ElementarySurface::StepGeom_ElementarySurface () {} |
5 | |
6 | void StepGeom_ElementarySurface::Init( |
7 | const Handle(TCollection_HAsciiString)& aName) |
8 | { |
9 | |
10 | StepRepr_RepresentationItem::Init(aName); |
11 | } |
12 | |
13 | void StepGeom_ElementarySurface::Init( |
14 | const Handle(TCollection_HAsciiString)& aName, |
15 | const Handle(StepGeom_Axis2Placement3d)& aPosition) |
16 | { |
17 | // --- classe own fields --- |
18 | position = aPosition; |
19 | // --- classe inherited fields --- |
20 | StepRepr_RepresentationItem::Init(aName); |
21 | } |
22 | |
23 | |
24 | void StepGeom_ElementarySurface::SetPosition(const Handle(StepGeom_Axis2Placement3d)& aPosition) |
25 | { |
26 | position = aPosition; |
27 | } |
28 | |
29 | Handle(StepGeom_Axis2Placement3d) StepGeom_ElementarySurface::Position() const |
30 | { |
31 | return position; |
32 | } |