Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepFEA / StepFEA_ConstantSurface3dElementCoordinateSystem.cxx
1 // File:        StepFEA_ConstantSurface3dElementCoordinateSystem.cxx
2 // Created:     Thu Dec 26 15:06:35 2002 
3 // Author:      data exchange team
4 // Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
5 // Copyright:   Open CASCADE 2002
6
7 #include <StepFEA_ConstantSurface3dElementCoordinateSystem.ixx>
8
9 //=======================================================================
10 //function : StepFEA_ConstantSurface3dElementCoordinateSystem
11 //purpose  : 
12 //=======================================================================
13
14 StepFEA_ConstantSurface3dElementCoordinateSystem::StepFEA_ConstantSurface3dElementCoordinateSystem ()
15 {
16 }
17
18 //=======================================================================
19 //function : Init
20 //purpose  : 
21 //=======================================================================
22
23 void StepFEA_ConstantSurface3dElementCoordinateSystem::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
24                                                              const Standard_Integer aAxis,
25                                                              const Standard_Real aAngle)
26 {
27   StepFEA_FeaRepresentationItem::Init(aRepresentationItem_Name);
28
29   theAxis = aAxis;
30
31   theAngle = aAngle;
32 }
33
34 //=======================================================================
35 //function : Axis
36 //purpose  : 
37 //=======================================================================
38
39 Standard_Integer StepFEA_ConstantSurface3dElementCoordinateSystem::Axis () const
40 {
41   return theAxis;
42 }
43
44 //=======================================================================
45 //function : SetAxis
46 //purpose  : 
47 //=======================================================================
48
49 void StepFEA_ConstantSurface3dElementCoordinateSystem::SetAxis (const Standard_Integer aAxis)
50 {
51   theAxis = aAxis;
52 }
53
54 //=======================================================================
55 //function : Angle
56 //purpose  : 
57 //=======================================================================
58
59 Standard_Real StepFEA_ConstantSurface3dElementCoordinateSystem::Angle () const
60 {
61   return theAngle;
62 }
63
64 //=======================================================================
65 //function : SetAngle
66 //purpose  : 
67 //=======================================================================
68
69 void StepFEA_ConstantSurface3dElementCoordinateSystem::SetAngle (const Standard_Real aAngle)
70 {
71   theAngle = aAngle;
72 }