summaryrefslogtreecommitdiff
path: root/src/StepElement/StepElement_UniformSurfaceSection.cxx
blob: ce75581b4b0ccc23c9b0372cba5777650a9ad306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
// File:	StepElement_UniformSurfaceSection.cxx
// Created:	Thu Dec 12 17:29:05 2002 
// Author:	data exchange team
// Generator:	ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
// Copyright:	Open CASCADE 2002

#include <StepElement_UniformSurfaceSection.ixx>

//=======================================================================
//function : StepElement_UniformSurfaceSection
//purpose  : 
//=======================================================================

StepElement_UniformSurfaceSection::StepElement_UniformSurfaceSection ()
{
}

//=======================================================================
//function : Init
//purpose  : 
//=======================================================================

void StepElement_UniformSurfaceSection::Init (const StepElement_MeasureOrUnspecifiedValue &aSurfaceSection_Offset,
                                              const StepElement_MeasureOrUnspecifiedValue &aSurfaceSection_NonStructuralMass,
                                              const StepElement_MeasureOrUnspecifiedValue &aSurfaceSection_NonStructuralMassOffset,
                                              const Standard_Real aThickness,
                                              const StepElement_MeasureOrUnspecifiedValue &aBendingThickness,
                                              const StepElement_MeasureOrUnspecifiedValue &aShearThickness)
{
  StepElement_SurfaceSection::Init(aSurfaceSection_Offset,
                                   aSurfaceSection_NonStructuralMass,
                                   aSurfaceSection_NonStructuralMassOffset);

  theThickness = aThickness;

  theBendingThickness = aBendingThickness;

  theShearThickness = aShearThickness;
}

//=======================================================================
//function : Thickness
//purpose  : 
//=======================================================================

Standard_Real StepElement_UniformSurfaceSection::Thickness () const
{
  return theThickness;
}

//=======================================================================
//function : SetThickness
//purpose  : 
//=======================================================================

void StepElement_UniformSurfaceSection::SetThickness (const Standard_Real aThickness)
{
  theThickness = aThickness;
}

//=======================================================================
//function : BendingThickness
//purpose  : 
//=======================================================================

StepElement_MeasureOrUnspecifiedValue StepElement_UniformSurfaceSection::BendingThickness () const
{
  return theBendingThickness;
}

//=======================================================================
//function : SetBendingThickness
//purpose  : 
//=======================================================================

void StepElement_UniformSurfaceSection::SetBendingThickness (const StepElement_MeasureOrUnspecifiedValue &aBendingThickness)
{
  theBendingThickness = aBendingThickness;
}

//=======================================================================
//function : ShearThickness
//purpose  : 
//=======================================================================

StepElement_MeasureOrUnspecifiedValue StepElement_UniformSurfaceSection::ShearThickness () const
{
  return theShearThickness;
}

//=======================================================================
//function : SetShearThickness
//purpose  : 
//=======================================================================

void StepElement_UniformSurfaceSection::SetShearThickness (const StepElement_MeasureOrUnspecifiedValue &aShearThickness)
{
  theShearThickness = aShearThickness;
}