Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepFEA / StepFEA_Curve3dElementRepresentation.cxx
1 // File:        StepFEA_Curve3dElementRepresentation.cxx
2 // Created:     Thu Dec 12 17:51:03 2002 
3 // Author:      data exchange team
4 // Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
5 // Copyright:   Open CASCADE 2002
6
7 #include <StepFEA_Curve3dElementRepresentation.ixx>
8
9 //=======================================================================
10 //function : StepFEA_Curve3dElementRepresentation
11 //purpose  : 
12 //=======================================================================
13
14 StepFEA_Curve3dElementRepresentation::StepFEA_Curve3dElementRepresentation ()
15 {
16 }
17
18 //=======================================================================
19 //function : Init
20 //purpose  : 
21 //=======================================================================
22
23 void StepFEA_Curve3dElementRepresentation::Init (const Handle(TCollection_HAsciiString) &aRepresentation_Name,
24                                                  const Handle(StepRepr_HArray1OfRepresentationItem) &aRepresentation_Items,
25                                                  const Handle(StepRepr_RepresentationContext) &aRepresentation_ContextOfItems,
26                                                  const Handle(StepFEA_HArray1OfNodeRepresentation) &aElementRepresentation_NodeList,
27                                                  const Handle(StepFEA_FeaModel3d) &aModelRef,
28                                                  const Handle(StepElement_Curve3dElementDescriptor) &aElementDescriptor,
29                                                  const Handle(StepFEA_Curve3dElementProperty) &aProperty,
30                                                  const Handle(StepElement_ElementMaterial) &aMaterial)
31 {
32   StepFEA_ElementRepresentation::Init(aRepresentation_Name,
33                                       aRepresentation_Items,
34                                       aRepresentation_ContextOfItems,
35                                       aElementRepresentation_NodeList);
36
37   theModelRef = aModelRef;
38
39   theElementDescriptor = aElementDescriptor;
40
41   theProperty = aProperty;
42
43   theMaterial = aMaterial;
44 }
45
46 //=======================================================================
47 //function : ModelRef
48 //purpose  : 
49 //=======================================================================
50
51 Handle(StepFEA_FeaModel3d) StepFEA_Curve3dElementRepresentation::ModelRef () const
52 {
53   return theModelRef;
54 }
55
56 //=======================================================================
57 //function : SetModelRef
58 //purpose  : 
59 //=======================================================================
60
61 void StepFEA_Curve3dElementRepresentation::SetModelRef (const Handle(StepFEA_FeaModel3d) &aModelRef)
62 {
63   theModelRef = aModelRef;
64 }
65
66 //=======================================================================
67 //function : ElementDescriptor
68 //purpose  : 
69 //=======================================================================
70
71 Handle(StepElement_Curve3dElementDescriptor) StepFEA_Curve3dElementRepresentation::ElementDescriptor () const
72 {
73   return theElementDescriptor;
74 }
75
76 //=======================================================================
77 //function : SetElementDescriptor
78 //purpose  : 
79 //=======================================================================
80
81 void StepFEA_Curve3dElementRepresentation::SetElementDescriptor (const Handle(StepElement_Curve3dElementDescriptor) &aElementDescriptor)
82 {
83   theElementDescriptor = aElementDescriptor;
84 }
85
86 //=======================================================================
87 //function : Property
88 //purpose  : 
89 //=======================================================================
90
91 Handle(StepFEA_Curve3dElementProperty) StepFEA_Curve3dElementRepresentation::Property () const
92 {
93   return theProperty;
94 }
95
96 //=======================================================================
97 //function : SetProperty
98 //purpose  : 
99 //=======================================================================
100
101 void StepFEA_Curve3dElementRepresentation::SetProperty (const Handle(StepFEA_Curve3dElementProperty) &aProperty)
102 {
103   theProperty = aProperty;
104 }
105
106 //=======================================================================
107 //function : Material
108 //purpose  : 
109 //=======================================================================
110
111 Handle(StepElement_ElementMaterial) StepFEA_Curve3dElementRepresentation::Material () const
112 {
113   return theMaterial;
114 }
115
116 //=======================================================================
117 //function : SetMaterial
118 //purpose  : 
119 //=======================================================================
120
121 void StepFEA_Curve3dElementRepresentation::SetMaterial (const Handle(StepElement_ElementMaterial) &aMaterial)
122 {
123   theMaterial = aMaterial;
124 }