7fd59977 |
1 | #include <StepShape_ExtrudedAreaSolid.ixx> |
2 | |
3 | |
4 | StepShape_ExtrudedAreaSolid::StepShape_ExtrudedAreaSolid () {} |
5 | |
6 | void StepShape_ExtrudedAreaSolid::Init( |
7 | const Handle(TCollection_HAsciiString)& aName, |
8 | const Handle(StepGeom_CurveBoundedSurface)& aSweptArea) |
9 | { |
10 | |
11 | StepShape_SweptAreaSolid::Init(aName, aSweptArea); |
12 | } |
13 | |
14 | void StepShape_ExtrudedAreaSolid::Init( |
15 | const Handle(TCollection_HAsciiString)& aName, |
16 | const Handle(StepGeom_CurveBoundedSurface)& aSweptArea, |
17 | const Handle(StepGeom_Direction)& aExtrudedDirection, |
18 | const Standard_Real aDepth) |
19 | { |
20 | // --- classe own fields --- |
21 | extrudedDirection = aExtrudedDirection; |
22 | depth = aDepth; |
23 | // --- classe inherited fields --- |
24 | StepShape_SweptAreaSolid::Init(aName, aSweptArea); |
25 | } |
26 | |
27 | |
28 | void StepShape_ExtrudedAreaSolid::SetExtrudedDirection(const Handle(StepGeom_Direction)& aExtrudedDirection) |
29 | { |
30 | extrudedDirection = aExtrudedDirection; |
31 | } |
32 | |
33 | Handle(StepGeom_Direction) StepShape_ExtrudedAreaSolid::ExtrudedDirection() const |
34 | { |
35 | return extrudedDirection; |
36 | } |
37 | |
38 | void StepShape_ExtrudedAreaSolid::SetDepth(const Standard_Real aDepth) |
39 | { |
40 | depth = aDepth; |
41 | } |
42 | |
43 | Standard_Real StepShape_ExtrudedAreaSolid::Depth() const |
44 | { |
45 | return depth; |
46 | } |