1 // Created on: 2002-12-12
2 // Created by: data exchange team
3 // Copyright (c) 2002-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 // Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
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>
24 IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaAxis2Placement3d,StepGeom_Axis2Placement3d)
26 //=======================================================================
27 //function : StepFEA_FeaAxis2Placement3d
29 //=======================================================================
30 StepFEA_FeaAxis2Placement3d::StepFEA_FeaAxis2Placement3d ()
34 //=======================================================================
37 //=======================================================================
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)
48 StepGeom_Axis2Placement3d::Init(aRepresentationItem_Name,
50 hasAxis2Placement3d_Axis,
51 aAxis2Placement3d_Axis,
52 hasAxis2Placement3d_RefDirection,
53 aAxis2Placement3d_RefDirection);
55 theSystemType = aSystemType;
57 theDescription = aDescription;
60 //=======================================================================
61 //function : SystemType
63 //=======================================================================
65 StepFEA_CoordinateSystemType StepFEA_FeaAxis2Placement3d::SystemType () const
70 //=======================================================================
71 //function : SetSystemType
73 //=======================================================================
75 void StepFEA_FeaAxis2Placement3d::SetSystemType (const StepFEA_CoordinateSystemType aSystemType)
77 theSystemType = aSystemType;
80 //=======================================================================
81 //function : Description
83 //=======================================================================
85 Handle(TCollection_HAsciiString) StepFEA_FeaAxis2Placement3d::Description () const
87 return theDescription;
90 //=======================================================================
91 //function : SetDescription
93 //=======================================================================
95 void StepFEA_FeaAxis2Placement3d::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
97 theDescription = aDescription;