Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-04 08:46:21

0001 // Created on: 2003-08-22
0002 // Created by: Sergey KUUL
0003 // Copyright (c) 2003-2014 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_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol_HeaderFile
0017 #define _StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <StepDimTol_GeometricTolerance.hxx>
0023 class StepDimTol_GeometricToleranceTarget;
0024 class StepDimTol_GeometricToleranceWithDatumReference;
0025 class StepDimTol_ModifiedGeometricTolerance;
0026 class StepDimTol_PositionTolerance;
0027 class TCollection_HAsciiString;
0028 class StepBasic_MeasureWithUnit;
0029 class StepRepr_ShapeAspect;
0030 
0031 class StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol;
0032 DEFINE_STANDARD_HANDLE(StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol,
0033                        StepDimTol_GeometricTolerance)
0034 
0035 class StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol
0036     : public StepDimTol_GeometricTolerance
0037 {
0038 
0039 public:
0040   Standard_EXPORT StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol();
0041 
0042   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)&  aName,
0043                             const Handle(TCollection_HAsciiString)&  aDescription,
0044                             const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
0045                             const Handle(StepRepr_ShapeAspect)&      aTolerancedShapeAspect,
0046                             const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
0047                             const Handle(StepDimTol_ModifiedGeometricTolerance)&           aMGT);
0048 
0049   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)&    aName,
0050                             const Handle(TCollection_HAsciiString)&    aDescription,
0051                             const Handle(StepBasic_MeasureWithUnit)&   aMagnitude,
0052                             const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
0053                             const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
0054                             const Handle(StepDimTol_ModifiedGeometricTolerance)&           aMGT);
0055 
0056   Standard_EXPORT void SetGeometricToleranceWithDatumReference(
0057     const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR);
0058 
0059   Standard_EXPORT Handle(StepDimTol_GeometricToleranceWithDatumReference)
0060     GetGeometricToleranceWithDatumReference() const;
0061 
0062   Standard_EXPORT void SetModifiedGeometricTolerance(
0063     const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT);
0064 
0065   Standard_EXPORT Handle(StepDimTol_ModifiedGeometricTolerance) GetModifiedGeometricTolerance()
0066     const;
0067 
0068   Standard_EXPORT void SetPositionTolerance(const Handle(StepDimTol_PositionTolerance)& aPT);
0069 
0070   Standard_EXPORT Handle(StepDimTol_PositionTolerance) GetPositionTolerance() const;
0071 
0072   DEFINE_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol,
0073                           StepDimTol_GeometricTolerance)
0074 
0075 protected:
0076 private:
0077   Handle(StepDimTol_GeometricToleranceWithDatumReference) myGeometricToleranceWithDatumReference;
0078   Handle(StepDimTol_ModifiedGeometricTolerance)           myModifiedGeometricTolerance;
0079   Handle(StepDimTol_PositionTolerance)                    myPositionTolerance;
0080 };
0081 
0082 #endif // _StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol_HeaderFile