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_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 class StepDimTol_GeometricToleranceWithDefinedUnit;
0030 DEFINE_STANDARD_HANDLE(StepDimTol_GeometricToleranceWithDefinedUnit, StepDimTol_GeometricTolerance)
0031
0032 class StepDimTol_GeometricToleranceWithDefinedUnit : public StepDimTol_GeometricTolerance
0033 {
0034
0035 public:
0036
0037
0038 Standard_EXPORT StepDimTol_GeometricToleranceWithDefinedUnit();
0039
0040
0041 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(StepBasic_MeasureWithUnit)& theMagnitude, const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect, const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize) ;
0042
0043
0044 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)& theUnitSize) ;
0045
0046
0047 inline Handle(StepBasic_LengthMeasureWithUnit) UnitSize () const
0048 {
0049 return myUnitSize;
0050 }
0051
0052
0053 inline void SetUnitSize (const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
0054 {
0055 myUnitSize = theUnitSize;
0056 }
0057
0058 DEFINE_STANDARD_RTTIEXT(StepDimTol_GeometricToleranceWithDefinedUnit,StepDimTol_GeometricTolerance)
0059
0060 private:
0061 Handle(StepBasic_LengthMeasureWithUnit) myUnitSize;
0062 };
0063 #endif