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