Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on : Sat May 02 12:41:16 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_SurfacePairWithRange_HeaderFile_
0018 #define _StepKinematics_SurfacePairWithRange_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <StepKinematics_SurfacePair.hxx>
0022 
0023 #include <TCollection_HAsciiString.hxx>
0024 #include <StepRepr_RepresentationItem.hxx>
0025 #include <StepKinematics_KinematicJoint.hxx>
0026 #include <StepGeom_Surface.hxx>
0027 #include <StepGeom_RectangularTrimmedSurface.hxx>
0028 
0029 DEFINE_STANDARD_HANDLE(StepKinematics_SurfacePairWithRange, StepKinematics_SurfacePair)
0030 
0031 //! Representation of STEP entity SurfacePairWithRange
0032 class StepKinematics_SurfacePairWithRange : public StepKinematics_SurfacePair
0033 {
0034 public :
0035 
0036   //! default constructor
0037   Standard_EXPORT StepKinematics_SurfacePairWithRange();
0038 
0039   //! Initialize all fields (own and inherited)
0040  Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
0041                            const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Name,
0042                            const Standard_Boolean hasItemDefinedTransformation_Description,
0043                            const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Description,
0044                            const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem1,
0045                            const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem2,
0046                            const Handle(StepKinematics_KinematicJoint)& theKinematicPair_Joint,
0047                            const Handle(StepGeom_Surface)& theSurfacePair_Surface1,
0048                            const Handle(StepGeom_Surface)& theSurfacePair_Surface2,
0049                            const Standard_Boolean theSurfacePair_Orientation,
0050                            const Handle(StepGeom_RectangularTrimmedSurface)& theRangeOnSurface1,
0051                            const Handle(StepGeom_RectangularTrimmedSurface)& theRangeOnSurface2,
0052                            const Standard_Boolean hasLowerLimitActualRotation,
0053                            const Standard_Real theLowerLimitActualRotation,
0054                            const Standard_Boolean hasUpperLimitActualRotation,
0055                            const Standard_Real theUpperLimitActualRotation);
0056 
0057   //! Returns field RangeOnSurface1
0058   Standard_EXPORT Handle(StepGeom_RectangularTrimmedSurface) RangeOnSurface1() const;
0059   //! Sets field RangeOnSurface1
0060   Standard_EXPORT void SetRangeOnSurface1 (const Handle(StepGeom_RectangularTrimmedSurface)& theRangeOnSurface1);
0061 
0062   //! Returns field RangeOnSurface2
0063   Standard_EXPORT Handle(StepGeom_RectangularTrimmedSurface) RangeOnSurface2() const;
0064   //! Sets field RangeOnSurface2
0065   Standard_EXPORT void SetRangeOnSurface2 (const Handle(StepGeom_RectangularTrimmedSurface)& theRangeOnSurface2);
0066 
0067   //! Returns field LowerLimitActualRotation
0068   Standard_EXPORT Standard_Real LowerLimitActualRotation() const;
0069   //! Sets field LowerLimitActualRotation
0070   Standard_EXPORT void SetLowerLimitActualRotation (const Standard_Real theLowerLimitActualRotation);
0071   //! Returns True if optional field LowerLimitActualRotation is defined
0072   Standard_EXPORT Standard_Boolean HasLowerLimitActualRotation() const;
0073 
0074   //! Returns field UpperLimitActualRotation
0075   Standard_EXPORT Standard_Real UpperLimitActualRotation() const;
0076   //! Sets field UpperLimitActualRotation
0077   Standard_EXPORT void SetUpperLimitActualRotation (const Standard_Real theUpperLimitActualRotation);
0078   //! Returns True if optional field UpperLimitActualRotation is defined
0079   Standard_EXPORT Standard_Boolean HasUpperLimitActualRotation() const;
0080 
0081 DEFINE_STANDARD_RTTIEXT(StepKinematics_SurfacePairWithRange, StepKinematics_SurfacePair)
0082 
0083 private:
0084   Handle(StepGeom_RectangularTrimmedSurface) myRangeOnSurface1;
0085   Handle(StepGeom_RectangularTrimmedSurface) myRangeOnSurface2;
0086   Standard_Real myLowerLimitActualRotation; //!< optional
0087   Standard_Real myUpperLimitActualRotation; //!< optional
0088   Standard_Boolean defLowerLimitActualRotation; //!< flag "is LowerLimitActualRotation defined"
0089   Standard_Boolean defUpperLimitActualRotation; //!< flag "is UpperLimitActualRotation defined"
0090 
0091 };
0092 #endif // _StepKinematics_SurfacePairWithRange_HeaderFile_