// Created on: 2002-12-12 // Created by: data exchange team // Copyright (c) 2002-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _StepElement_CurveElementSectionDerivedDefinitions_HeaderFile #define _StepElement_CurveElementSectionDerivedDefinitions_HeaderFile #include "Standard.hxx" #include "Standard_Real.hxx" #include "StepElement_MeasureOrUnspecifiedValue.hxx" #include "NCollection_Array1.hxx" #include "NCollection_HArray1.hxx" #include "StepElement_CurveElementSectionDefinition.hxx" class TCollection_HAsciiString; //! Representation of STEP entity CurveElementSectionDerivedDefinitions class StepElement_CurveElementSectionDerivedDefinitions : public StepElement_CurveElementSectionDefinition { public: //! Empty constructor Standard_EXPORT StepElement_CurveElementSectionDerivedDefinitions(); //! Initialize all fields (own and inherited) Standard_EXPORT void Init( const occ::handle& aCurveElementSectionDefinition_Description, const double aCurveElementSectionDefinition_SectionAngle, const double aCrossSectionalArea, const occ::handle>& aShearArea, const occ::handle>& aSecondMomentOfArea, const double aTorsionalConstant, const StepElement_MeasureOrUnspecifiedValue& aWarpingConstant, const occ::handle>& aLocationOfCentroid, const occ::handle>& aLocationOfShearCentre, const occ::handle>& aLocationOfNonStructuralMass, const StepElement_MeasureOrUnspecifiedValue& aNonStructuralMass, const StepElement_MeasureOrUnspecifiedValue& aPolarMoment); //! Returns field CrossSectionalArea Standard_EXPORT double CrossSectionalArea() const; //! Set field CrossSectionalArea Standard_EXPORT void SetCrossSectionalArea(const double CrossSectionalArea); //! Returns field ShearArea Standard_EXPORT occ::handle> ShearArea() const; //! Set field ShearArea Standard_EXPORT void SetShearArea( const occ::handle>& ShearArea); //! Returns field SecondMomentOfArea Standard_EXPORT occ::handle> SecondMomentOfArea() const; //! Set field SecondMomentOfArea Standard_EXPORT void SetSecondMomentOfArea( const occ::handle>& SecondMomentOfArea); //! Returns field TorsionalConstant Standard_EXPORT double TorsionalConstant() const; //! Set field TorsionalConstant Standard_EXPORT void SetTorsionalConstant(const double TorsionalConstant); //! Returns field WarpingConstant Standard_EXPORT StepElement_MeasureOrUnspecifiedValue WarpingConstant() const; //! Set field WarpingConstant Standard_EXPORT void SetWarpingConstant( const StepElement_MeasureOrUnspecifiedValue& WarpingConstant); //! Returns field LocationOfCentroid Standard_EXPORT occ::handle> LocationOfCentroid() const; //! Set field LocationOfCentroid Standard_EXPORT void SetLocationOfCentroid( const occ::handle>& LocationOfCentroid); //! Returns field LocationOfShearCentre Standard_EXPORT occ::handle> LocationOfShearCentre() const; //! Set field LocationOfShearCentre Standard_EXPORT void SetLocationOfShearCentre( const occ::handle>& LocationOfShearCentre); //! Returns field LocationOfNonStructuralMass Standard_EXPORT occ::handle> LocationOfNonStructuralMass() const; //! Set field LocationOfNonStructuralMass Standard_EXPORT void SetLocationOfNonStructuralMass( const occ::handle>& LocationOfNonStructuralMass); //! Returns field NonStructuralMass Standard_EXPORT StepElement_MeasureOrUnspecifiedValue NonStructuralMass() const; //! Set field NonStructuralMass Standard_EXPORT void SetNonStructuralMass( const StepElement_MeasureOrUnspecifiedValue& NonStructuralMass); //! Returns field PolarMoment Standard_EXPORT StepElement_MeasureOrUnspecifiedValue PolarMoment() const; //! Set field PolarMoment Standard_EXPORT void SetPolarMoment(const StepElement_MeasureOrUnspecifiedValue& PolarMoment); DEFINE_STANDARD_RTTIEXT(StepElement_CurveElementSectionDerivedDefinitions, StepElement_CurveElementSectionDefinition) private: double theCrossSectionalArea; occ::handle> theShearArea; occ::handle> theSecondMomentOfArea; double theTorsionalConstant; StepElement_MeasureOrUnspecifiedValue theWarpingConstant; occ::handle> theLocationOfCentroid; occ::handle> theLocationOfShearCentre; occ::handle> theLocationOfNonStructuralMass; StepElement_MeasureOrUnspecifiedValue theNonStructuralMass; StepElement_MeasureOrUnspecifiedValue thePolarMoment; }; #endif // _StepElement_CurveElementSectionDerivedDefinitions_HeaderFile