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_GeoTolAndGeoTolWthDatRef_HeaderFile
0017 #define _StepDimTol_GeoTolAndGeoTolWthDatRef_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_GeometricToleranceWithDatumReference;
0026 class TCollection_HAsciiString;
0027 class StepBasic_MeasureWithUnit;
0028 class StepRepr_ShapeAspect;
0029
0030
0031 class StepDimTol_GeoTolAndGeoTolWthDatRef;
0032 DEFINE_STANDARD_HANDLE(StepDimTol_GeoTolAndGeoTolWthDatRef, StepDimTol_GeometricTolerance)
0033
0034 class StepDimTol_GeoTolAndGeoTolWthDatRef : public StepDimTol_GeometricTolerance
0035 {
0036
0037 public:
0038
0039
0040 Standard_EXPORT StepDimTol_GeoTolAndGeoTolWthDatRef();
0041
0042 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
0043 const Handle(TCollection_HAsciiString)& theDescription,
0044 const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
0045 const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
0046 const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
0047 const StepDimTol_GeometricToleranceType theType);
0048
0049 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
0050 const Handle(TCollection_HAsciiString)& aDescription,
0051 const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
0052 const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
0053 const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
0054 const StepDimTol_GeometricToleranceType theType);
0055
0056 inline void SetGeometricToleranceWithDatumReference (const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR){
0057 myGeometricToleranceWithDatumReference = theGTWDR;
0058 }
0059
0060 inline Handle(StepDimTol_GeometricToleranceWithDatumReference) GetGeometricToleranceWithDatumReference() const {
0061 return myGeometricToleranceWithDatumReference;
0062 }
0063
0064 inline void SetGeometricToleranceType (const StepDimTol_GeometricToleranceType theType){
0065 myToleranceType = theType;
0066 }
0067
0068 StepDimTol_GeometricToleranceType GetToleranceType() const {
0069 return myToleranceType;
0070 }
0071
0072 DEFINE_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthDatRef,StepDimTol_GeometricTolerance)
0073
0074 private:
0075
0076 Handle(StepDimTol_GeometricToleranceWithDatumReference) myGeometricToleranceWithDatumReference;
0077 StepDimTol_GeometricToleranceType myToleranceType;
0078 };
0079 #endif