Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepRepr / StepRepr_MaterialPropertyRepresentation.cxx
1 // File:        StepRepr_MaterialPropertyRepresentation.cxx
2 // Created:     Thu Dec 12 16:07:47 2002 
3 // Author:      data exchange team
4 // Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
5 // Copyright:   Open CASCADE 2002
6
7 #include <StepRepr_MaterialPropertyRepresentation.ixx>
8
9 //=======================================================================
10 //function : StepRepr_MaterialPropertyRepresentation
11 //purpose  : 
12 //=======================================================================
13
14 StepRepr_MaterialPropertyRepresentation::StepRepr_MaterialPropertyRepresentation ()
15 {
16 }
17
18 //=======================================================================
19 //function : Init
20 //purpose  : 
21 //=======================================================================
22
23 void StepRepr_MaterialPropertyRepresentation::Init (const StepRepr_RepresentedDefinition &aPropertyDefinitionRepresentation_Definition,
24                                                     const Handle(StepRepr_Representation) &aPropertyDefinitionRepresentation_UsedRepresentation,
25                                                     const Handle(StepRepr_DataEnvironment) &aDependentEnvironment)
26 {
27   StepRepr_PropertyDefinitionRepresentation::Init(aPropertyDefinitionRepresentation_Definition,
28                                                   aPropertyDefinitionRepresentation_UsedRepresentation);
29
30   theDependentEnvironment = aDependentEnvironment;
31 }
32
33 //=======================================================================
34 //function : DependentEnvironment
35 //purpose  : 
36 //=======================================================================
37
38 Handle(StepRepr_DataEnvironment) StepRepr_MaterialPropertyRepresentation::DependentEnvironment () const
39 {
40   return theDependentEnvironment;
41 }
42
43 //=======================================================================
44 //function : SetDependentEnvironment
45 //purpose  : 
46 //=======================================================================
47
48 void StepRepr_MaterialPropertyRepresentation::SetDependentEnvironment (const Handle(StepRepr_DataEnvironment) &aDependentEnvironment)
49 {
50   theDependentEnvironment = aDependentEnvironment;
51 }