File indexing completed on 2026-09-29 09:20:25
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _StepDimTol_GeometricToleranceWithDefinedUnit_HeaderFile
0017 #define _StepDimTol_GeometricToleranceWithDefinedUnit_HeaderFile
0018
0019 #include <Standard.hxx>
0020
0021 #include <StepDimTol_GeometricTolerance.hxx>
0022
0023 class StepBasic_LengthMeasureWithUnit;
0024 class TCollection_HAsciiString;
0025 class StepBasic_MeasureWithUnit;
0026 class StepDimTol_GeometricToleranceTarget;
0027 class StepRepr_ShapeAspect;
0028
0029
0030 class StepDimTol_GeometricToleranceWithDefinedUnit : public StepDimTol_GeometricTolerance
0031 {
0032
0033 public:
0034
0035 Standard_EXPORT StepDimTol_GeometricToleranceWithDefinedUnit();
0036
0037
0038 Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>& theName,
0039 const occ::handle<TCollection_HAsciiString>& theDescription,
0040 const occ::handle<Standard_Transient>& theMagnitude,
0041 const occ::handle<StepRepr_ShapeAspect>& theTolerancedShapeAspect,
0042 const occ::handle<StepBasic_LengthMeasureWithUnit>& theUnitSize);
0043
0044
0045 Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>& theName,
0046 const occ::handle<TCollection_HAsciiString>& theDescription,
0047 const occ::handle<Standard_Transient>& theMagnitude,
0048 const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
0049 const occ::handle<StepBasic_LengthMeasureWithUnit>& theUnitSize);
0050
0051
0052 inline occ::handle<StepBasic_LengthMeasureWithUnit> UnitSize() const { return myUnitSize; }
0053
0054
0055 inline void SetUnitSize(const occ::handle<StepBasic_LengthMeasureWithUnit>& theUnitSize)
0056 {
0057 myUnitSize = theUnitSize;
0058 }
0059
0060 DEFINE_STANDARD_RTTIEXT(StepDimTol_GeometricToleranceWithDefinedUnit,
0061 StepDimTol_GeometricTolerance)
0062
0063 private:
0064 occ::handle<StepBasic_LengthMeasureWithUnit> myUnitSize;
0065 };
0066 #endif