0031687: Draw Harness, ViewerTest - extend command vrenderparams with option updating...
[occt.git] / src / StepFEA / StepFEA_FeaAxis2Placement3d.cxx
1 // Created on: 2002-12-12
2 // Created by: data exchange team
3 // Copyright (c) 2002-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 // Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
17
18 #include <Standard_Type.hxx>
19 #include <StepFEA_FeaAxis2Placement3d.hxx>
20 #include <StepGeom_CartesianPoint.hxx>
21 #include <StepGeom_Direction.hxx>
22 #include <TCollection_HAsciiString.hxx>
23
24 IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaAxis2Placement3d,StepGeom_Axis2Placement3d)
25
26 //=======================================================================
27 //function : StepFEA_FeaAxis2Placement3d
28 //purpose  : 
29 //=======================================================================
30 StepFEA_FeaAxis2Placement3d::StepFEA_FeaAxis2Placement3d ()
31 {
32 }
33
34 //=======================================================================
35 //function : Init
36 //purpose  : 
37 //=======================================================================
38
39 void StepFEA_FeaAxis2Placement3d::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
40                                         const Handle(StepGeom_CartesianPoint) &aPlacement_Location,
41                                         const Standard_Boolean hasAxis2Placement3d_Axis,
42                                         const Handle(StepGeom_Direction) &aAxis2Placement3d_Axis,
43                                         const Standard_Boolean hasAxis2Placement3d_RefDirection,
44                                         const Handle(StepGeom_Direction) &aAxis2Placement3d_RefDirection,
45                                         const StepFEA_CoordinateSystemType aSystemType,
46                                         const Handle(TCollection_HAsciiString) &aDescription)
47 {
48   StepGeom_Axis2Placement3d::Init(aRepresentationItem_Name,
49                                   aPlacement_Location,
50                                   hasAxis2Placement3d_Axis,
51                                   aAxis2Placement3d_Axis,
52                                   hasAxis2Placement3d_RefDirection,
53                                   aAxis2Placement3d_RefDirection);
54
55   theSystemType = aSystemType;
56
57   theDescription = aDescription;
58 }
59
60 //=======================================================================
61 //function : SystemType
62 //purpose  : 
63 //=======================================================================
64
65 StepFEA_CoordinateSystemType StepFEA_FeaAxis2Placement3d::SystemType () const
66 {
67   return theSystemType;
68 }
69
70 //=======================================================================
71 //function : SetSystemType
72 //purpose  : 
73 //=======================================================================
74
75 void StepFEA_FeaAxis2Placement3d::SetSystemType (const StepFEA_CoordinateSystemType aSystemType)
76 {
77   theSystemType = aSystemType;
78 }
79
80 //=======================================================================
81 //function : Description
82 //purpose  : 
83 //=======================================================================
84
85 Handle(TCollection_HAsciiString) StepFEA_FeaAxis2Placement3d::Description () const
86 {
87   return theDescription;
88 }
89
90 //=======================================================================
91 //function : SetDescription
92 //purpose  : 
93 //=======================================================================
94
95 void StepFEA_FeaAxis2Placement3d::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
96 {
97   theDescription = aDescription;
98 }