Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepFEA / StepFEA_ElementGroup.cxx
1 // File:        StepFEA_ElementGroup.cxx
2 // Created:     Thu Dec 12 17:51:05 2002 
3 // Author:      data exchange team
4 // Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
5 // Copyright:   Open CASCADE 2002
6
7 #include <StepFEA_ElementGroup.ixx>
8
9 //=======================================================================
10 //function : StepFEA_ElementGroup
11 //purpose  : 
12 //=======================================================================
13
14 StepFEA_ElementGroup::StepFEA_ElementGroup ()
15 {
16 }
17
18 //=======================================================================
19 //function : Init
20 //purpose  : 
21 //=======================================================================
22
23 void StepFEA_ElementGroup::Init (const Handle(TCollection_HAsciiString) &aGroup_Name,
24                                  const Handle(TCollection_HAsciiString) &aGroup_Description,
25                                  const Handle(StepFEA_FeaModel) &aFeaGroup_ModelRef,
26                                  const Handle(StepFEA_HArray1OfElementRepresentation) &aElements)
27 {
28   StepFEA_FeaGroup::Init(aGroup_Name,
29                          aGroup_Description,
30                          aFeaGroup_ModelRef);
31
32   theElements = aElements;
33 }
34
35 //=======================================================================
36 //function : Elements
37 //purpose  : 
38 //=======================================================================
39
40 Handle(StepFEA_HArray1OfElementRepresentation) StepFEA_ElementGroup::Elements () const
41 {
42   return theElements;
43 }
44
45 //=======================================================================
46 //function : SetElements
47 //purpose  : 
48 //=======================================================================
49
50 void StepFEA_ElementGroup::SetElements (const Handle(StepFEA_HArray1OfElementRepresentation) &aElements)
51 {
52   theElements = aElements;
53 }