File indexing completed on 2026-09-25 09:21:22
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 StepRepr_ShapeAspect;
0029
0030 class StepDimTol_GeoTolAndGeoTolWthMaxTol : public StepDimTol_GeoTolAndGeoTolWthMod
0031 {
0032
0033 public:
0034 Standard_EXPORT StepDimTol_GeoTolAndGeoTolWthMaxTol();
0035
0036 Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>& theName,
0037 const occ::handle<TCollection_HAsciiString>& theDescription,
0038 const occ::handle<Standard_Transient>& theMagnitude,
0039 const occ::handle<StepRepr_ShapeAspect>& theTolerancedShapeAspect,
0040 const occ::handle<StepDimTol_GeometricToleranceWithModifiers>& theGTWM,
0041 const occ::handle<StepBasic_LengthMeasureWithUnit>& theMaxTol,
0042 const StepDimTol_GeometricToleranceType theType);
0043
0044 Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>& aName,
0045 const occ::handle<TCollection_HAsciiString>& aDescription,
0046 const occ::handle<Standard_Transient>& aMagnitude,
0047 const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
0048 const occ::handle<StepDimTol_GeometricToleranceWithModifiers>& aGTWM,
0049 const occ::handle<StepBasic_LengthMeasureWithUnit>& theMaxTol,
0050 const StepDimTol_GeometricToleranceType theType);
0051
0052 inline void SetMaxTolerance(const occ::handle<StepBasic_LengthMeasureWithUnit>& theMaxTol)
0053 {
0054 myMaxTol = theMaxTol;
0055 }
0056
0057 inline occ::handle<StepBasic_LengthMeasureWithUnit> GetMaxTolerance() { return myMaxTol; }
0058
0059 DEFINE_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthMaxTol, StepDimTol_GeoTolAndGeoTolWthMod)
0060
0061 private:
0062 occ::handle<StepBasic_LengthMeasureWithUnit> myMaxTol;
0063 };
0064 #endif