File indexing completed on 2026-09-24 09:17:19
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _StepDimTol_GeometricTolerance_HeaderFile
0017 #define _StepDimTol_GeometricTolerance_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021
0022 #include <Standard_Transient.hxx>
0023 #include <StepDimTol_GeometricToleranceTarget.hxx>
0024 class TCollection_HAsciiString;
0025 class StepRepr_ShapeAspect;
0026
0027
0028 class StepDimTol_GeometricTolerance : public Standard_Transient
0029 {
0030
0031 public:
0032
0033 Standard_EXPORT StepDimTol_GeometricTolerance();
0034
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
0041
0042 Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>& theName,
0043 const occ::handle<TCollection_HAsciiString>& theDescription,
0044 const occ::handle<Standard_Transient>& theMagnitude,
0045 const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect);
0046
0047
0048 Standard_EXPORT occ::handle<TCollection_HAsciiString> Name() const;
0049
0050
0051 Standard_EXPORT void SetName(const occ::handle<TCollection_HAsciiString>& theName);
0052
0053
0054 Standard_EXPORT occ::handle<TCollection_HAsciiString> Description() const;
0055
0056
0057 Standard_EXPORT void SetDescription(const occ::handle<TCollection_HAsciiString>& theDescription);
0058
0059
0060 Standard_EXPORT occ::handle<Standard_Transient> Magnitude() const;
0061
0062
0063 Standard_EXPORT void SetMagnitude(const occ::handle<Standard_Transient>& theMagnitude);
0064
0065
0066
0067 Standard_EXPORT StepDimTol_GeometricToleranceTarget TolerancedShapeAspect() const;
0068
0069
0070 Standard_EXPORT void SetTolerancedShapeAspect(
0071 const occ::handle<StepRepr_ShapeAspect>& theTolerancedShapeAspect);
0072
0073
0074 Standard_EXPORT void SetTolerancedShapeAspect(
0075 const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect);
0076
0077 DEFINE_STANDARD_RTTIEXT(StepDimTol_GeometricTolerance, Standard_Transient)
0078
0079 private:
0080 occ::handle<TCollection_HAsciiString> myName;
0081 occ::handle<TCollection_HAsciiString> myDescription;
0082 occ::handle<Standard_Transient> myMagnitude;
0083 StepDimTol_GeometricToleranceTarget myTolerancedShapeAspect;
0084 };
0085
0086 #endif