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
7 #include <StepFEA_Curve3dElementRepresentation.ixx>
9 //=======================================================================
10 //function : StepFEA_Curve3dElementRepresentation
12 //=======================================================================
14 StepFEA_Curve3dElementRepresentation::StepFEA_Curve3dElementRepresentation ()
18 //=======================================================================
21 //=======================================================================
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)
32 StepFEA_ElementRepresentation::Init(aRepresentation_Name,
33 aRepresentation_Items,
34 aRepresentation_ContextOfItems,
35 aElementRepresentation_NodeList);
37 theModelRef = aModelRef;
39 theElementDescriptor = aElementDescriptor;
41 theProperty = aProperty;
43 theMaterial = aMaterial;
46 //=======================================================================
49 //=======================================================================
51 Handle(StepFEA_FeaModel3d) StepFEA_Curve3dElementRepresentation::ModelRef () const
56 //=======================================================================
57 //function : SetModelRef
59 //=======================================================================
61 void StepFEA_Curve3dElementRepresentation::SetModelRef (const Handle(StepFEA_FeaModel3d) &aModelRef)
63 theModelRef = aModelRef;
66 //=======================================================================
67 //function : ElementDescriptor
69 //=======================================================================
71 Handle(StepElement_Curve3dElementDescriptor) StepFEA_Curve3dElementRepresentation::ElementDescriptor () const
73 return theElementDescriptor;
76 //=======================================================================
77 //function : SetElementDescriptor
79 //=======================================================================
81 void StepFEA_Curve3dElementRepresentation::SetElementDescriptor (const Handle(StepElement_Curve3dElementDescriptor) &aElementDescriptor)
83 theElementDescriptor = aElementDescriptor;
86 //=======================================================================
89 //=======================================================================
91 Handle(StepFEA_Curve3dElementProperty) StepFEA_Curve3dElementRepresentation::Property () const
96 //=======================================================================
97 //function : SetProperty
99 //=======================================================================
101 void StepFEA_Curve3dElementRepresentation::SetProperty (const Handle(StepFEA_Curve3dElementProperty) &aProperty)
103 theProperty = aProperty;
106 //=======================================================================
107 //function : Material
109 //=======================================================================
111 Handle(StepElement_ElementMaterial) StepFEA_Curve3dElementRepresentation::Material () const
116 //=======================================================================
117 //function : SetMaterial
119 //=======================================================================
121 void StepFEA_Curve3dElementRepresentation::SetMaterial (const Handle(StepElement_ElementMaterial) &aMaterial)
123 theMaterial = aMaterial;