Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:11

0001 // Created on : Sat May 02 12:41:14 2020 
0002 // Created by: Irina KRYLOVA
0003 // Generator:   Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
0004 // Copyright (c) Open CASCADE 2020
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _StepKinematics_RotationAboutDirection_HeaderFile_
0018 #define _StepKinematics_RotationAboutDirection_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 
0022 #include <TCollection_HAsciiString.hxx>
0023 #include <StepGeom_Direction.hxx>
0024 
0025 DEFINE_STANDARD_HANDLE(StepKinematics_RotationAboutDirection, StepGeom_GeometricRepresentationItem)
0026 
0027 //! Representation of STEP entity RotationAboutDirection
0028 class StepKinematics_RotationAboutDirection : public StepGeom_GeometricRepresentationItem
0029 {
0030 public :
0031 
0032   //! default constructor
0033   Standard_EXPORT StepKinematics_RotationAboutDirection();
0034 
0035   //! Initialize all fields (own and inherited)
0036  Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
0037                            const Handle(StepGeom_Direction)& theDirectionOfAxis,
0038                            const Standard_Real theRotationAngle);
0039 
0040   //! Returns field DirectionOfAxis
0041   Standard_EXPORT Handle(StepGeom_Direction) DirectionOfAxis() const;
0042   //! Sets field DirectionOfAxis
0043   Standard_EXPORT void SetDirectionOfAxis (const Handle(StepGeom_Direction)& theDirectionOfAxis);
0044 
0045   //! Returns field RotationAngle
0046   Standard_EXPORT Standard_Real RotationAngle() const;
0047   //! Sets field RotationAngle
0048   Standard_EXPORT void SetRotationAngle (const Standard_Real theRotationAngle);
0049 
0050 DEFINE_STANDARD_RTTIEXT(StepKinematics_RotationAboutDirection, StepGeom_GeometricRepresentationItem)
0051 
0052 private:
0053   Handle(StepGeom_Direction) myDirectionOfAxis;
0054   Standard_Real myRotationAngle;
0055 
0056 };
0057 #endif // _StepKinematics_RotationAboutDirection_HeaderFile_