Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-28 10:21:56

0001 // Created on : Sat May 02 12:41:15 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_GearPair_HeaderFile_
0018 #define _StepKinematics_GearPair_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <StepKinematics_LowOrderKinematicPairWithMotionCoupling.hxx>
0022 
0023 #include <TCollection_HAsciiString.hxx>
0024 #include <StepRepr_RepresentationItem.hxx>
0025 #include <StepKinematics_KinematicJoint.hxx>
0026 
0027 //! Representation of STEP entity GearPair
0028 class StepKinematics_GearPair : public StepKinematics_LowOrderKinematicPairWithMotionCoupling
0029 {
0030 public:
0031   //! default constructor
0032   Standard_EXPORT StepKinematics_GearPair();
0033 
0034   //! Initialize all fields (own and inherited)
0035   Standard_EXPORT void Init(
0036     const occ::handle<TCollection_HAsciiString>&      theRepresentationItem_Name,
0037     const occ::handle<TCollection_HAsciiString>&      theItemDefinedTransformation_Name,
0038     const bool                                        hasItemDefinedTransformation_Description,
0039     const occ::handle<TCollection_HAsciiString>&      theItemDefinedTransformation_Description,
0040     const occ::handle<StepRepr_RepresentationItem>&   theItemDefinedTransformation_TransformItem1,
0041     const occ::handle<StepRepr_RepresentationItem>&   theItemDefinedTransformation_TransformItem2,
0042     const occ::handle<StepKinematics_KinematicJoint>& theKinematicPair_Joint,
0043     const double                                      theRadiusFirstLink,
0044     const double                                      theRadiusSecondLink,
0045     const double                                      theBevel,
0046     const double                                      theHelicalAngle,
0047     const double                                      theGearRatio);
0048 
0049   //! Returns field RadiusFirstLink
0050   Standard_EXPORT double RadiusFirstLink() const;
0051   //! Sets field RadiusFirstLink
0052   Standard_EXPORT void SetRadiusFirstLink(const double theRadiusFirstLink);
0053 
0054   //! Returns field RadiusSecondLink
0055   Standard_EXPORT double RadiusSecondLink() const;
0056   //! Sets field RadiusSecondLink
0057   Standard_EXPORT void SetRadiusSecondLink(const double theRadiusSecondLink);
0058 
0059   //! Returns field Bevel
0060   Standard_EXPORT double Bevel() const;
0061   //! Sets field Bevel
0062   Standard_EXPORT void SetBevel(const double theBevel);
0063 
0064   //! Returns field HelicalAngle
0065   Standard_EXPORT double HelicalAngle() const;
0066   //! Sets field HelicalAngle
0067   Standard_EXPORT void SetHelicalAngle(const double theHelicalAngle);
0068 
0069   //! Returns field GearRatio
0070   Standard_EXPORT double GearRatio() const;
0071   //! Sets field GearRatio
0072   Standard_EXPORT void SetGearRatio(const double theGearRatio);
0073 
0074   DEFINE_STANDARD_RTTIEXT(StepKinematics_GearPair,
0075                           StepKinematics_LowOrderKinematicPairWithMotionCoupling)
0076 
0077 private:
0078   double myRadiusFirstLink;
0079   double myRadiusSecondLink;
0080   double myBevel;
0081   double myHelicalAngle;
0082   double myGearRatio;
0083 };
0084 #endif // _StepKinematics_GearPair_HeaderFile_