Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepFEA / StepFEA_FeaMassDensity.cxx
CommitLineData
7fd59977 1// File: StepFEA_FeaMassDensity.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_FeaMassDensity.ixx>
8
9//=======================================================================
10//function : StepFEA_FeaMassDensity
11//purpose :
12//=======================================================================
13
14StepFEA_FeaMassDensity::StepFEA_FeaMassDensity ()
15{
16}
17
18//=======================================================================
19//function : Init
20//purpose :
21//=======================================================================
22
23void StepFEA_FeaMassDensity::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
24 const Standard_Real aFeaConstant)
25{
26 StepFEA_FeaMaterialPropertyRepresentationItem::Init(aRepresentationItem_Name);
27
28 theFeaConstant = aFeaConstant;
29}
30
31//=======================================================================
32//function : FeaConstant
33//purpose :
34//=======================================================================
35
36Standard_Real StepFEA_FeaMassDensity::FeaConstant () const
37{
38 return theFeaConstant;
39}
40
41//=======================================================================
42//function : SetFeaConstant
43//purpose :
44//=======================================================================
45
46void StepFEA_FeaMassDensity::SetFeaConstant (const Standard_Real aFeaConstant)
47{
48 theFeaConstant = aFeaConstant;
49}