Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-10-02 09:13:59

0001 // Created on: 2002-12-12
0002 // Created by: data exchange team
0003 // Copyright (c) 2002-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
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 //! Representation of STEP entity CurveElementSectionDerivedDefinitions
0029 class StepElement_CurveElementSectionDerivedDefinitions
0030     : public StepElement_CurveElementSectionDefinition
0031 {
0032 
0033 public:
0034   //! Empty constructor
0035   Standard_EXPORT StepElement_CurveElementSectionDerivedDefinitions();
0036 
0037   //! Initialize all fields (own and inherited)
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   //! Returns field CrossSectionalArea
0056   Standard_EXPORT double CrossSectionalArea() const;
0057 
0058   //! Set field CrossSectionalArea
0059   Standard_EXPORT void SetCrossSectionalArea(const double CrossSectionalArea);
0060 
0061   //! Returns field ShearArea
0062   Standard_EXPORT occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>
0063                   ShearArea() const;
0064 
0065   //! Set field ShearArea
0066   Standard_EXPORT void SetShearArea(
0067     const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>& ShearArea);
0068 
0069   //! Returns field SecondMomentOfArea
0070   Standard_EXPORT occ::handle<NCollection_HArray1<double>> SecondMomentOfArea() const;
0071 
0072   //! Set field SecondMomentOfArea
0073   Standard_EXPORT void SetSecondMomentOfArea(
0074     const occ::handle<NCollection_HArray1<double>>& SecondMomentOfArea);
0075 
0076   //! Returns field TorsionalConstant
0077   Standard_EXPORT double TorsionalConstant() const;
0078 
0079   //! Set field TorsionalConstant
0080   Standard_EXPORT void SetTorsionalConstant(const double TorsionalConstant);
0081 
0082   //! Returns field WarpingConstant
0083   Standard_EXPORT StepElement_MeasureOrUnspecifiedValue WarpingConstant() const;
0084 
0085   //! Set field WarpingConstant
0086   Standard_EXPORT void SetWarpingConstant(
0087     const StepElement_MeasureOrUnspecifiedValue& WarpingConstant);
0088 
0089   //! Returns field LocationOfCentroid
0090   Standard_EXPORT occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>
0091                   LocationOfCentroid() const;
0092 
0093   //! Set field LocationOfCentroid
0094   Standard_EXPORT void SetLocationOfCentroid(
0095     const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>&
0096       LocationOfCentroid);
0097 
0098   //! Returns field LocationOfShearCentre
0099   Standard_EXPORT occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>
0100                   LocationOfShearCentre() const;
0101 
0102   //! Set field LocationOfShearCentre
0103   Standard_EXPORT void SetLocationOfShearCentre(
0104     const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>&
0105       LocationOfShearCentre);
0106 
0107   //! Returns field LocationOfNonStructuralMass
0108   Standard_EXPORT occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>
0109                   LocationOfNonStructuralMass() const;
0110 
0111   //! Set field LocationOfNonStructuralMass
0112   Standard_EXPORT void SetLocationOfNonStructuralMass(
0113     const occ::handle<NCollection_HArray1<StepElement_MeasureOrUnspecifiedValue>>&
0114       LocationOfNonStructuralMass);
0115 
0116   //! Returns field NonStructuralMass
0117   Standard_EXPORT StepElement_MeasureOrUnspecifiedValue NonStructuralMass() const;
0118 
0119   //! Set field NonStructuralMass
0120   Standard_EXPORT void SetNonStructuralMass(
0121     const StepElement_MeasureOrUnspecifiedValue& NonStructuralMass);
0122 
0123   //! Returns field PolarMoment
0124   Standard_EXPORT StepElement_MeasureOrUnspecifiedValue PolarMoment() const;
0125 
0126   //! Set field PolarMoment
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 // _StepElement_CurveElementSectionDerivedDefinitions_HeaderFile