0022627: Change OCCT memory management defaults
[occt.git] / src / Vrml / Vrml_SFRotation.cxx
1 #include <Vrml_SFRotation.ixx>
2
3 Vrml_SFRotation::Vrml_SFRotation()
4 {
5 }
6
7 Vrml_SFRotation::Vrml_SFRotation( const Standard_Real aRotationX, 
8                                   const Standard_Real aRotationY, 
9                                   const Standard_Real aRotationZ, 
10                                   const Standard_Real anAngle )
11 {
12     myRotationX = aRotationX;
13     myRotationY = aRotationY;
14     myRotationZ = aRotationZ;
15     myAngle     = anAngle;
16 }
17
18 void Vrml_SFRotation::SetRotationX(const Standard_Real aRotationX)
19 {
20     myRotationX = aRotationX;
21 }
22
23 Standard_Real Vrml_SFRotation::RotationX() const 
24 {
25   return myRotationX;
26 }
27
28 void Vrml_SFRotation::SetRotationY(const Standard_Real aRotationY)
29 {
30     myRotationY = aRotationY;
31 }
32
33 Standard_Real Vrml_SFRotation::RotationY() const 
34 {
35   return myRotationY;
36 }
37
38 void Vrml_SFRotation::SetRotationZ(const Standard_Real aRotationZ)
39 {
40     myRotationZ = aRotationZ;
41 }
42
43 Standard_Real Vrml_SFRotation::RotationZ() const 
44 {
45   return myRotationZ;
46 }
47
48 void Vrml_SFRotation::SetAngle(const Standard_Real anAngle)
49 {
50     myAngle = anAngle;
51 }
52
53 Standard_Real Vrml_SFRotation::Angle() const 
54 {
55   return myAngle;
56 }