File indexing completed on 2025-01-18 10:05:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _StepDimTol_GeoTolAndGeoTolWthMaxTol_HeaderFile
0017 #define _StepDimTol_GeoTolAndGeoTolWthMaxTol_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021
0022 #include <StepDimTol_GeoTolAndGeoTolWthMod.hxx>
0023 #include <StepDimTol_GeometricToleranceType.hxx>
0024 class StepDimTol_GeometricToleranceTarget;
0025 class StepDimTol_GeometricToleranceWithModifiers;
0026 class TCollection_HAsciiString;
0027 class StepBasic_LengthMeasureWithUnit;
0028 class StepBasic_MeasureWithUnit;
0029 class StepRepr_ShapeAspect;
0030
0031
0032 class StepDimTol_GeoTolAndGeoTolWthMaxTol;
0033 DEFINE_STANDARD_HANDLE(StepDimTol_GeoTolAndGeoTolWthMaxTol, StepDimTol_GeoTolAndGeoTolWthMod)
0034
0035 class StepDimTol_GeoTolAndGeoTolWthMaxTol : public StepDimTol_GeoTolAndGeoTolWthMod
0036 {
0037
0038 public:
0039
0040
0041 Standard_EXPORT StepDimTol_GeoTolAndGeoTolWthMaxTol();
0042
0043 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
0044 const Handle(TCollection_HAsciiString)& theDescription,
0045 const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
0046 const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
0047 const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
0048 const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
0049 const StepDimTol_GeometricToleranceType theType);
0050
0051 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
0052 const Handle(TCollection_HAsciiString)& aDescription,
0053 const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
0054 const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
0055 const Handle(StepDimTol_GeometricToleranceWithModifiers)& aGTWM,
0056 const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
0057 const StepDimTol_GeometricToleranceType theType);
0058
0059 inline void SetMaxTolerance(Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol) {
0060 myMaxTol = theMaxTol;
0061 }
0062
0063 inline Handle(StepBasic_LengthMeasureWithUnit) GetMaxTolerance() {
0064 return myMaxTol;
0065 }
0066
0067 DEFINE_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthMaxTol,StepDimTol_GeoTolAndGeoTolWthMod)
0068
0069 private:
0070
0071 Handle(StepBasic_LengthMeasureWithUnit) myMaxTol;
0072 };
0073 #endif