7fd59977 |
1 | #include <StepShape_RevolvedFaceSolid.ixx> |
2 | |
3 | |
4 | StepShape_RevolvedFaceSolid::StepShape_RevolvedFaceSolid () {} |
5 | |
6 | void StepShape_RevolvedFaceSolid::Init( |
7 | const Handle(TCollection_HAsciiString)& aName, |
8 | const Handle(StepShape_FaceSurface)& aSweptArea) |
9 | { |
10 | |
11 | StepShape_SweptFaceSolid::Init(aName, aSweptArea); |
12 | } |
13 | |
14 | void StepShape_RevolvedFaceSolid::Init( |
15 | const Handle(TCollection_HAsciiString)& aName, |
16 | const Handle(StepShape_FaceSurface)& aSweptArea, |
17 | const Handle(StepGeom_Axis1Placement)& aAxis, |
18 | const Standard_Real aAngle) |
19 | { |
20 | // --- classe own fields --- |
21 | axis = aAxis; |
22 | angle = aAngle; |
23 | // --- classe inherited fields --- |
24 | StepShape_SweptFaceSolid::Init(aName, aSweptArea); |
25 | } |
26 | |
27 | |
28 | void StepShape_RevolvedFaceSolid::SetAxis(const Handle(StepGeom_Axis1Placement)& aAxis) |
29 | { |
30 | axis = aAxis; |
31 | } |
32 | |
33 | Handle(StepGeom_Axis1Placement) StepShape_RevolvedFaceSolid::Axis() const |
34 | { |
35 | return axis; |
36 | } |
37 | |
38 | void StepShape_RevolvedFaceSolid::SetAngle(const Standard_Real aAngle) |
39 | { |
40 | angle = aAngle; |
41 | } |
42 | |
43 | Standard_Real StepShape_RevolvedFaceSolid::Angle() const |
44 | { |
45 | return angle; |
46 | } |