File indexing completed on 2026-09-21 09:18:38
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 StepRepr_ShapeAspect;
0028
0029 class StepDimTol_GeoTolAndGeoTolWthMod : public StepDimTol_GeometricTolerance
0030 {
0031
0032 public:
0033 Standard_EXPORT StepDimTol_GeoTolAndGeoTolWthMod();
0034
0035 Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>& theName,
0036 const occ::handle<TCollection_HAsciiString>& theDescription,
0037 const occ::handle<Standard_Transient>& theMagnitude,
0038 const occ::handle<StepRepr_ShapeAspect>& theTolerancedShapeAspect,
0039 const occ::handle<StepDimTol_GeometricToleranceWithModifiers>& theGTWM,
0040 const StepDimTol_GeometricToleranceType theType);
0041
0042 Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>& aName,
0043 const occ::handle<TCollection_HAsciiString>& aDescription,
0044 const occ::handle<Standard_Transient>& aMagnitude,
0045 const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
0046 const occ::handle<StepDimTol_GeometricToleranceWithModifiers>& aGTWM,
0047 const StepDimTol_GeometricToleranceType theType);
0048
0049 inline void SetGeometricToleranceWithModifiers(
0050 const occ::handle<StepDimTol_GeometricToleranceWithModifiers>& theGTWM)
0051 {
0052 myGeometricToleranceWithModifiers = theGTWM;
0053 }
0054
0055 inline occ::handle<StepDimTol_GeometricToleranceWithModifiers>
0056 GetGeometricToleranceWithModifiers() const
0057 {
0058 return myGeometricToleranceWithModifiers;
0059 }
0060
0061 inline void SetGeometricToleranceType(const StepDimTol_GeometricToleranceType theType)
0062 {
0063 myToleranceType = theType;
0064 }
0065
0066 StepDimTol_GeometricToleranceType GetToleranceType() const { return myToleranceType; }
0067
0068 DEFINE_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthMod, StepDimTol_GeometricTolerance)
0069
0070 private:
0071 occ::handle<StepDimTol_GeometricToleranceWithModifiers> myGeometricToleranceWithModifiers;
0072 StepDimTol_GeometricToleranceType myToleranceType;
0073 };
0074 #endif