7fd59977 |
1 | // File: StepElement_UniformSurfaceSection.cxx |
2 | // Created: Thu Dec 12 17:29:05 2002 |
3 | // Author: data exchange team |
4 | // Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2 |
5 | // Copyright: Open CASCADE 2002 |
6 | |
7 | #include <StepElement_UniformSurfaceSection.ixx> |
8 | |
9 | //======================================================================= |
10 | //function : StepElement_UniformSurfaceSection |
11 | //purpose : |
12 | //======================================================================= |
13 | |
14 | StepElement_UniformSurfaceSection::StepElement_UniformSurfaceSection () |
15 | { |
16 | } |
17 | |
18 | //======================================================================= |
19 | //function : Init |
20 | //purpose : |
21 | //======================================================================= |
22 | |
23 | void StepElement_UniformSurfaceSection::Init (const StepElement_MeasureOrUnspecifiedValue &aSurfaceSection_Offset, |
24 | const StepElement_MeasureOrUnspecifiedValue &aSurfaceSection_NonStructuralMass, |
25 | const StepElement_MeasureOrUnspecifiedValue &aSurfaceSection_NonStructuralMassOffset, |
26 | const Standard_Real aThickness, |
27 | const StepElement_MeasureOrUnspecifiedValue &aBendingThickness, |
28 | const StepElement_MeasureOrUnspecifiedValue &aShearThickness) |
29 | { |
30 | StepElement_SurfaceSection::Init(aSurfaceSection_Offset, |
31 | aSurfaceSection_NonStructuralMass, |
32 | aSurfaceSection_NonStructuralMassOffset); |
33 | |
34 | theThickness = aThickness; |
35 | |
36 | theBendingThickness = aBendingThickness; |
37 | |
38 | theShearThickness = aShearThickness; |
39 | } |
40 | |
41 | //======================================================================= |
42 | //function : Thickness |
43 | //purpose : |
44 | //======================================================================= |
45 | |
46 | Standard_Real StepElement_UniformSurfaceSection::Thickness () const |
47 | { |
48 | return theThickness; |
49 | } |
50 | |
51 | //======================================================================= |
52 | //function : SetThickness |
53 | //purpose : |
54 | //======================================================================= |
55 | |
56 | void StepElement_UniformSurfaceSection::SetThickness (const Standard_Real aThickness) |
57 | { |
58 | theThickness = aThickness; |
59 | } |
60 | |
61 | //======================================================================= |
62 | //function : BendingThickness |
63 | //purpose : |
64 | //======================================================================= |
65 | |
66 | StepElement_MeasureOrUnspecifiedValue StepElement_UniformSurfaceSection::BendingThickness () const |
67 | { |
68 | return theBendingThickness; |
69 | } |
70 | |
71 | //======================================================================= |
72 | //function : SetBendingThickness |
73 | //purpose : |
74 | //======================================================================= |
75 | |
76 | void StepElement_UniformSurfaceSection::SetBendingThickness (const StepElement_MeasureOrUnspecifiedValue &aBendingThickness) |
77 | { |
78 | theBendingThickness = aBendingThickness; |
79 | } |
80 | |
81 | //======================================================================= |
82 | //function : ShearThickness |
83 | //purpose : |
84 | //======================================================================= |
85 | |
86 | StepElement_MeasureOrUnspecifiedValue StepElement_UniformSurfaceSection::ShearThickness () const |
87 | { |
88 | return theShearThickness; |
89 | } |
90 | |
91 | //======================================================================= |
92 | //function : SetShearThickness |
93 | //purpose : |
94 | //======================================================================= |
95 | |
96 | void StepElement_UniformSurfaceSection::SetShearThickness (const StepElement_MeasureOrUnspecifiedValue &aShearThickness) |
97 | { |
98 | theShearThickness = aShearThickness; |
99 | } |