summaryrefslogtreecommitdiff
path: root/src/Vrml/Vrml_SFRotation.cxx
blob: f7310c2860596f2f5ab95d30f38b7b60883c1004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#include <Vrml_SFRotation.ixx>

Vrml_SFRotation::Vrml_SFRotation()
{
}

Vrml_SFRotation::Vrml_SFRotation( const Standard_Real aRotationX, 
				  const Standard_Real aRotationY, 
				  const Standard_Real aRotationZ, 
				  const Standard_Real anAngle )
{
    myRotationX = aRotationX;
    myRotationY = aRotationY;
    myRotationZ = aRotationZ;
    myAngle     = anAngle;
}

void Vrml_SFRotation::SetRotationX(const Standard_Real aRotationX)
{
    myRotationX = aRotationX;
}

Standard_Real Vrml_SFRotation::RotationX() const 
{
  return myRotationX;
}

void Vrml_SFRotation::SetRotationY(const Standard_Real aRotationY)
{
    myRotationY = aRotationY;
}

Standard_Real Vrml_SFRotation::RotationY() const 
{
  return myRotationY;
}

void Vrml_SFRotation::SetRotationZ(const Standard_Real aRotationZ)
{
    myRotationZ = aRotationZ;
}

Standard_Real Vrml_SFRotation::RotationZ() const 
{
  return myRotationZ;
}

void Vrml_SFRotation::SetAngle(const Standard_Real anAngle)
{
    myAngle = anAngle;
}

Standard_Real Vrml_SFRotation::Angle() const 
{
  return myAngle;
}