Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 2015-07-07
0002 // Created by: Irina KRYLOVA
0003 // Copyright (c) 2015 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 _StepDimTol_UnequallyDisposedGeometricTolerance_HeaderFile
0017 #define _StepDimTol_UnequallyDisposedGeometricTolerance_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 
0021 #include <StepBasic_LengthMeasureWithUnit.hxx>
0022 #include <StepDimTol_GeometricTolerance.hxx>
0023 
0024 class TCollection_HAsciiString;
0025 class StepBasic_MeasureWithUnit;
0026 class StepDimTol_GeometricToleranceTarget;
0027 
0028 class StepDimTol_UnequallyDisposedGeometricTolerance;
0029 DEFINE_STANDARD_HANDLE(StepDimTol_UnequallyDisposedGeometricTolerance, StepDimTol_GeometricTolerance)
0030 //! Representation of STEP entity UnequallyDisposedGeometricTolerance
0031 class StepDimTol_UnequallyDisposedGeometricTolerance : public StepDimTol_GeometricTolerance
0032 {
0033 
0034 public:
0035   
0036   //! Empty constructor
0037   Standard_EXPORT StepDimTol_UnequallyDisposedGeometricTolerance();
0038   
0039   //! Initialize all fields (own and inherited)
0040   Standard_EXPORT   void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(StepBasic_MeasureWithUnit)& theMagnitude, const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect, const Handle(StepBasic_LengthMeasureWithUnit)& theDisplacement) ;
0041 
0042   //! Returns field Displacement
0043   inline Handle(StepBasic_LengthMeasureWithUnit) Displacement () const
0044   {
0045     return myDisplacement;
0046   }
0047   
0048   //! Set field Displacement
0049   inline void SetDisplacement (const Handle(StepBasic_LengthMeasureWithUnit) &theDisplacement)
0050   {
0051     myDisplacement = theDisplacement;
0052   }
0053 
0054   DEFINE_STANDARD_RTTIEXT(StepDimTol_UnequallyDisposedGeometricTolerance,StepDimTol_GeometricTolerance)
0055 
0056 private: 
0057   Handle(StepBasic_LengthMeasureWithUnit) myDisplacement;
0058 };
0059 #endif // _StepDimTol_UnequallyDisposedGeometricTolerance_HeaderFile