42cf5bc1 |
1 | // Created on: 2002-12-12 |
2 | // Created by: data exchange team |
3 | // Copyright (c) 2002-2014 OPEN CASCADE SAS |
4 | // |
5 | // This file is part of Open CASCADE Technology software library. |
6 | // |
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 |
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. |
12 | // |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
15 | |
16 | #ifndef _StepElement_CurveElementSectionDerivedDefinitions_HeaderFile |
17 | #define _StepElement_CurveElementSectionDerivedDefinitions_HeaderFile |
18 | |
19 | #include <Standard.hxx> |
20 | #include <Standard_Type.hxx> |
21 | |
22 | #include <Standard_Real.hxx> |
23 | #include <StepElement_HArray1OfMeasureOrUnspecifiedValue.hxx> |
24 | #include <TColStd_HArray1OfReal.hxx> |
25 | #include <StepElement_MeasureOrUnspecifiedValue.hxx> |
26 | #include <StepElement_CurveElementSectionDefinition.hxx> |
27 | class TCollection_HAsciiString; |
28 | class StepElement_MeasureOrUnspecifiedValue; |
29 | |
30 | |
31 | class StepElement_CurveElementSectionDerivedDefinitions; |
32 | DEFINE_STANDARD_HANDLE(StepElement_CurveElementSectionDerivedDefinitions, StepElement_CurveElementSectionDefinition) |
33 | |
34 | //! Representation of STEP entity CurveElementSectionDerivedDefinitions |
35 | class StepElement_CurveElementSectionDerivedDefinitions : public StepElement_CurveElementSectionDefinition |
36 | { |
37 | |
38 | public: |
39 | |
40 | |
41 | //! Empty constructor |
42 | Standard_EXPORT StepElement_CurveElementSectionDerivedDefinitions(); |
43 | |
44 | //! Initialize all fields (own and inherited) |
45 | Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aCurveElementSectionDefinition_Description, const Standard_Real aCurveElementSectionDefinition_SectionAngle, const Standard_Real aCrossSectionalArea, const Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue)& aShearArea, const Handle(TColStd_HArray1OfReal)& aSecondMomentOfArea, const Standard_Real aTorsionalConstant, const StepElement_MeasureOrUnspecifiedValue& aWarpingConstant, const Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue)& aLocationOfCentroid, const Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue)& aLocationOfShearCentre, const Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue)& aLocationOfNonStructuralMass, const StepElement_MeasureOrUnspecifiedValue& aNonStructuralMass, const StepElement_MeasureOrUnspecifiedValue& aPolarMoment); |
46 | |
47 | //! Returns field CrossSectionalArea |
48 | Standard_EXPORT Standard_Real CrossSectionalArea() const; |
49 | |
50 | //! Set field CrossSectionalArea |
51 | Standard_EXPORT void SetCrossSectionalArea (const Standard_Real CrossSectionalArea); |
52 | |
53 | //! Returns field ShearArea |
54 | Standard_EXPORT Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue) ShearArea() const; |
55 | |
56 | //! Set field ShearArea |
57 | Standard_EXPORT void SetShearArea (const Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue)& ShearArea); |
58 | |
59 | //! Returns field SecondMomentOfArea |
60 | Standard_EXPORT Handle(TColStd_HArray1OfReal) SecondMomentOfArea() const; |
61 | |
62 | //! Set field SecondMomentOfArea |
63 | Standard_EXPORT void SetSecondMomentOfArea (const Handle(TColStd_HArray1OfReal)& SecondMomentOfArea); |
64 | |
65 | //! Returns field TorsionalConstant |
66 | Standard_EXPORT Standard_Real TorsionalConstant() const; |
67 | |
68 | //! Set field TorsionalConstant |
69 | Standard_EXPORT void SetTorsionalConstant (const Standard_Real TorsionalConstant); |
70 | |
71 | //! Returns field WarpingConstant |
72 | Standard_EXPORT StepElement_MeasureOrUnspecifiedValue WarpingConstant() const; |
73 | |
74 | //! Set field WarpingConstant |
75 | Standard_EXPORT void SetWarpingConstant (const StepElement_MeasureOrUnspecifiedValue& WarpingConstant); |
76 | |
77 | //! Returns field LocationOfCentroid |
78 | Standard_EXPORT Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue) LocationOfCentroid() const; |
79 | |
80 | //! Set field LocationOfCentroid |
81 | Standard_EXPORT void SetLocationOfCentroid (const Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue)& LocationOfCentroid); |
82 | |
83 | //! Returns field LocationOfShearCentre |
84 | Standard_EXPORT Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue) LocationOfShearCentre() const; |
85 | |
86 | //! Set field LocationOfShearCentre |
87 | Standard_EXPORT void SetLocationOfShearCentre (const Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue)& LocationOfShearCentre); |
88 | |
89 | //! Returns field LocationOfNonStructuralMass |
90 | Standard_EXPORT Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue) LocationOfNonStructuralMass() const; |
91 | |
92 | //! Set field LocationOfNonStructuralMass |
93 | Standard_EXPORT void SetLocationOfNonStructuralMass (const Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue)& LocationOfNonStructuralMass); |
94 | |
95 | //! Returns field NonStructuralMass |
96 | Standard_EXPORT StepElement_MeasureOrUnspecifiedValue NonStructuralMass() const; |
97 | |
98 | //! Set field NonStructuralMass |
99 | Standard_EXPORT void SetNonStructuralMass (const StepElement_MeasureOrUnspecifiedValue& NonStructuralMass); |
100 | |
101 | //! Returns field PolarMoment |
102 | Standard_EXPORT StepElement_MeasureOrUnspecifiedValue PolarMoment() const; |
103 | |
104 | //! Set field PolarMoment |
105 | Standard_EXPORT void SetPolarMoment (const StepElement_MeasureOrUnspecifiedValue& PolarMoment); |
106 | |
107 | |
108 | |
109 | |
92efcf78 |
110 | DEFINE_STANDARD_RTTIEXT(StepElement_CurveElementSectionDerivedDefinitions,StepElement_CurveElementSectionDefinition) |
42cf5bc1 |
111 | |
112 | protected: |
113 | |
114 | |
115 | |
116 | |
117 | private: |
118 | |
119 | |
120 | Standard_Real theCrossSectionalArea; |
121 | Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue) theShearArea; |
122 | Handle(TColStd_HArray1OfReal) theSecondMomentOfArea; |
123 | Standard_Real theTorsionalConstant; |
124 | StepElement_MeasureOrUnspecifiedValue theWarpingConstant; |
125 | Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue) theLocationOfCentroid; |
126 | Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue) theLocationOfShearCentre; |
127 | Handle(StepElement_HArray1OfMeasureOrUnspecifiedValue) theLocationOfNonStructuralMass; |
128 | StepElement_MeasureOrUnspecifiedValue theNonStructuralMass; |
129 | StepElement_MeasureOrUnspecifiedValue thePolarMoment; |
130 | |
131 | |
132 | }; |
133 | |
134 | |
135 | |
136 | |
137 | |
138 | |
139 | |
140 | #endif // _StepElement_CurveElementSectionDerivedDefinitions_HeaderFile |