b311480e |
1 | // Created on: 2002-12-12 |
2 | // Created by: data exchange team |
973c2be1 |
3 | // Copyright (c) 2002-2014 OPEN CASCADE SAS |
b311480e |
4 | // |
973c2be1 |
5 | // This file is part of Open CASCADE Technology software library. |
b311480e |
6 | // |
d5f74e42 |
7 | // This library is free software; you can redistribute it and/or modify it under |
8 | // the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | // by the Free Software Foundation, with special exception defined in the file |
10 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | // distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | // |
973c2be1 |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
b311480e |
15 | |
7fd59977 |
16 | // Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2 |
7fd59977 |
17 | |
18 | #include <StepElement_UniformSurfaceSection.ixx> |
19 | |
20 | //======================================================================= |
21 | //function : StepElement_UniformSurfaceSection |
22 | //purpose : |
23 | //======================================================================= |
24 | |
25 | StepElement_UniformSurfaceSection::StepElement_UniformSurfaceSection () |
26 | { |
27 | } |
28 | |
29 | //======================================================================= |
30 | //function : Init |
31 | //purpose : |
32 | //======================================================================= |
33 | |
34 | void StepElement_UniformSurfaceSection::Init (const StepElement_MeasureOrUnspecifiedValue &aSurfaceSection_Offset, |
35 | const StepElement_MeasureOrUnspecifiedValue &aSurfaceSection_NonStructuralMass, |
36 | const StepElement_MeasureOrUnspecifiedValue &aSurfaceSection_NonStructuralMassOffset, |
37 | const Standard_Real aThickness, |
38 | const StepElement_MeasureOrUnspecifiedValue &aBendingThickness, |
39 | const StepElement_MeasureOrUnspecifiedValue &aShearThickness) |
40 | { |
41 | StepElement_SurfaceSection::Init(aSurfaceSection_Offset, |
42 | aSurfaceSection_NonStructuralMass, |
43 | aSurfaceSection_NonStructuralMassOffset); |
44 | |
45 | theThickness = aThickness; |
46 | |
47 | theBendingThickness = aBendingThickness; |
48 | |
49 | theShearThickness = aShearThickness; |
50 | } |
51 | |
52 | //======================================================================= |
53 | //function : Thickness |
54 | //purpose : |
55 | //======================================================================= |
56 | |
57 | Standard_Real StepElement_UniformSurfaceSection::Thickness () const |
58 | { |
59 | return theThickness; |
60 | } |
61 | |
62 | //======================================================================= |
63 | //function : SetThickness |
64 | //purpose : |
65 | //======================================================================= |
66 | |
67 | void StepElement_UniformSurfaceSection::SetThickness (const Standard_Real aThickness) |
68 | { |
69 | theThickness = aThickness; |
70 | } |
71 | |
72 | //======================================================================= |
73 | //function : BendingThickness |
74 | //purpose : |
75 | //======================================================================= |
76 | |
77 | StepElement_MeasureOrUnspecifiedValue StepElement_UniformSurfaceSection::BendingThickness () const |
78 | { |
79 | return theBendingThickness; |
80 | } |
81 | |
82 | //======================================================================= |
83 | //function : SetBendingThickness |
84 | //purpose : |
85 | //======================================================================= |
86 | |
87 | void StepElement_UniformSurfaceSection::SetBendingThickness (const StepElement_MeasureOrUnspecifiedValue &aBendingThickness) |
88 | { |
89 | theBendingThickness = aBendingThickness; |
90 | } |
91 | |
92 | //======================================================================= |
93 | //function : ShearThickness |
94 | //purpose : |
95 | //======================================================================= |
96 | |
97 | StepElement_MeasureOrUnspecifiedValue StepElement_UniformSurfaceSection::ShearThickness () const |
98 | { |
99 | return theShearThickness; |
100 | } |
101 | |
102 | //======================================================================= |
103 | //function : SetShearThickness |
104 | //purpose : |
105 | //======================================================================= |
106 | |
107 | void StepElement_UniformSurfaceSection::SetShearThickness (const StepElement_MeasureOrUnspecifiedValue &aShearThickness) |
108 | { |
109 | theShearThickness = aShearThickness; |
110 | } |