File indexing completed on 2026-10-02 09:13:59
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _StepElement_CurveElementSectionDerivedDefinitions_HeaderFile
0017 #define _StepElement_CurveElementSectionDerivedDefinitions_HeaderFile
0018
0019 #include <Standard.hxx>
0020
0021 #include <Standard_Real.hxx>
0022 #include <StepElement_MeasureOrUnspecifiedValue.hxx>
0023 #include <NCollection_Array1.hxx>
0024 #include <NCollection_HArray1.hxx>
0025 #include <StepElement_CurveElementSectionDefinition.hxx>
0026 class TCollection_HAsciiString;
0027
0028
0029 class StepElement_CurveElementSectionDerivedDefinitions
0030 : public StepElement_CurveElementSectionDefinition
0031 {
0032
0033 public:
0034
0035 Standard_EXPORT StepElement_CurveElementSectionDerivedDefinitions();
0036
0037
0038 Standard_EXPORT void Init(
0039 const occ::handle<TCollection_HAsciiString>& aCurveElementSectionDefinition_Description,
0040 const double aCurveElementSectionDefinition_SectionAngle,
0041 const double aCrossSectionalArea,
0042 const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>& aShearArea,
0043 const occ::handle<NCollection_HArray1<double>>& aSecondMomentOfArea,
0044 const double aTorsionalConstant,
0045 const StepElement_MeasureOrUnspecifiedValue& aWarpingConstant,
0046 const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>&
0047 aLocationOfCentroid,
0048 const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>&
0049 aLocationOfShearCentre,
0050 const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>&
0051 aLocationOfNonStructuralMass,
0052 const StepElement_MeasureOrUnspecifiedValue& aNonStructuralMass,
0053 const StepElement_MeasureOrUnspecifiedValue& aPolarMoment);
0054
0055
0056 Standard_EXPORT double CrossSectionalArea() const;
0057
0058
0059 Standard_EXPORT void SetCrossSectionalArea(const double CrossSectionalArea);
0060
0061
0062 Standard_EXPORT occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>
0063 ShearArea() const;
0064
0065
0066 Standard_EXPORT void SetShearArea(
0067 const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>& ShearArea);
0068
0069
0070 Standard_EXPORT occ::handle<NCollection_HArray1<double>> SecondMomentOfArea() const;
0071
0072
0073 Standard_EXPORT void SetSecondMomentOfArea(
0074 const occ::handle<NCollection_HArray1<double>>& SecondMomentOfArea);
0075
0076
0077 Standard_EXPORT double TorsionalConstant() const;
0078
0079
0080 Standard_EXPORT void SetTorsionalConstant(const double TorsionalConstant);
0081
0082
0083 Standard_EXPORT StepElement_MeasureOrUnspecifiedValue WarpingConstant() const;
0084
0085
0086 Standard_EXPORT void SetWarpingConstant(
0087 const StepElement_MeasureOrUnspecifiedValue& WarpingConstant);
0088
0089
0090 Standard_EXPORT occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>
0091 LocationOfCentroid() const;
0092
0093
0094 Standard_EXPORT void SetLocationOfCentroid(
0095 const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>&
0096 LocationOfCentroid);
0097
0098
0099 Standard_EXPORT occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>
0100 LocationOfShearCentre() const;
0101
0102
0103 Standard_EXPORT void SetLocationOfShearCentre(
0104 const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>&
0105 LocationOfShearCentre);
0106
0107
0108 Standard_EXPORT occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>
0109 LocationOfNonStructuralMass() const;
0110
0111
0112 Standard_EXPORT void SetLocationOfNonStructuralMass(
0113 const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>&
0114 LocationOfNonStructuralMass);
0115
0116
0117 Standard_EXPORT StepElement_MeasureOrUnspecifiedValue NonStructuralMass() const;
0118
0119
0120 Standard_EXPORT void SetNonStructuralMass(
0121 const StepElement_MeasureOrUnspecifiedValue& NonStructuralMass);
0122
0123
0124 Standard_EXPORT StepElement_MeasureOrUnspecifiedValue PolarMoment() const;
0125
0126
0127 Standard_EXPORT void SetPolarMoment(const StepElement_MeasureOrUnspecifiedValue& PolarMoment);
0128
0129 DEFINE_STANDARD_RTTIEXT(StepElement_CurveElementSectionDerivedDefinitions,
0130 StepElement_CurveElementSectionDefinition)
0131
0132 private:
0133 double theCrossSectionalArea;
0134 occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>> theShearArea;
0135 occ::handle<NCollection_HArray1<double>> theSecondMomentOfArea;
0136 double theTorsionalConstant;
0137 StepElement_MeasureOrUnspecifiedValue theWarpingConstant;
0138 occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>> theLocationOfCentroid;
0139 occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>> theLocationOfShearCentre;
0140 occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>
0141 theLocationOfNonStructuralMass;
0142 StepElement_MeasureOrUnspecifiedValue theNonStructuralMass;
0143 StepElement_MeasureOrUnspecifiedValue thePolarMoment;
0144 };
0145
0146 #endif