Fixed magnitude class to handle main GDT value.
#include <StepDimTol_AngularityTolerance.hxx>
#include <StepDimTol_GeometricToleranceTarget.hxx>
#include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWAngularityTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
#include <StepDimTol_CircularRunoutTolerance.hxx>
#include <StepDimTol_GeometricToleranceTarget.hxx>
#include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWCircularRunoutTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
#include <StepDimTol_CoaxialityTolerance.hxx>
#include <StepDimTol_GeometricToleranceTarget.hxx>
#include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWCoaxialityTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
#include <StepDimTol_ConcentricityTolerance.hxx>
#include <StepDimTol_GeometricToleranceTarget.hxx>
#include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWConcentricityTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
#include <StepData_StepWriter.hxx>
#include <StepDimTol_CylindricityTolerance.hxx>
#include <StepDimTol_GeometricToleranceTarget.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWCylindricityTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect);
}
#include <StepData_StepWriter.hxx>
#include <StepDimTol_FlatnessTolerance.hxx>
#include <StepDimTol_GeometricToleranceTarget.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWFlatnessTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect);
}
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
#include <StepDimTol_GeoTolAndGeoTolWthDatRef.hxx>
#include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeoTolAndGeoTolWthDatRef
data->ReadString (num, 1, "name", ach, aName);
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.hxx>
#include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol
data->ReadString (num, 1, "name", ach, aName);
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod.hxx>
#include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod
data->ReadString (num, 1, "name", ach, aName);
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.hxx>
#include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
#include <StepDimTol_ModifiedGeometricTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol
data->ReadString (num, 1, "name", ach, aName);
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.hxx>
#include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
#include <StepDimTol_UnequallyDisposedGeometricTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol
data->ReadString (num, 1, "name", ach, aName);
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepData_StepWriter.hxx>
#include <StepDimTol_GeoTolAndGeoTolWthMaxTol.hxx>
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol
data->ReadString (num, 1, "name", ach, aName);
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepData_StepWriter.hxx>
#include <StepDimTol_GeoTolAndGeoTolWthMod.hxx>
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeoTolAndGeoTolWthMod
data->ReadString (num, 1, "name", ach, aName);
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepData_StepWriter.hxx>
#include <StepDimTol_GeometricTolerance.hxx>
#include <StepDimTol_GeometricToleranceTarget.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeometricTolerance
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepData_StepWriter.hxx>
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
#include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeometricToleranceWithDatumReference
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aDatumSystem);
}
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_GeometricToleranceWithDefinedAreaUnit.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_GeometricToleranceWithDefinedUnit.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeometricToleranceWithDefinedUnit
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepDimTol_GeometricToleranceWithMaximumTolerance.hxx>
#include <StepDimTol_HArray1OfGeometricToleranceModifier.hxx>
#include <StepBasic_MeasureWithUnit.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeometricTolerance
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepData_StepWriter.hxx>
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
#include <StepDimTol_HArray1OfGeometricToleranceModifier.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeometricTolerance
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_LineProfileTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWLineProfileTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect);
}
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_ModifiedGeometricTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWModifiedGeometricTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aModifier);
}
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_ParallelismTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWParallelismTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_PerpendicularityTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWPerpendicularityTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_PositionTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWPositionTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect);
}
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_RoundnessTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWRoundnessTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect);
}
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_StraightnessTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWStraightnessTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect);
}
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_SurfaceProfileTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWSurfaceProfileTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect);
}
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_SymmetryTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWSymmetryTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_TotalRunoutTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWTotalRunoutTolerance
Handle(TCollection_HAsciiString) aGeometricTolerance_Description;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aGeometricTolerance_Description);
- Handle(StepBasic_MeasureWithUnit) aGeometricTolerance_Magnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aGeometricTolerance_Magnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_UnequallyDisposedGeometricTolerance.hxx>
+#include <StepRepr_MeasureRepresentationItem.hxx>
+#include <StepRepr_ReprItemAndMeasureWithUnit.hxx>
//=======================================================================
//function : RWStepDimTol_RWUnequallyDisposedGeometricTolerance
Handle(TCollection_HAsciiString) aDescription;
data->ReadString (num, 2, "geometric_tolerance.description", ach, aDescription);
- Handle(StepBasic_MeasureWithUnit) aMagnitude;
- data->ReadEntity (num, 3, "geometric_tolerance.magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
+ Handle(Standard_Transient) aMagnitude;
+ if (!data->ReadEntity(num, 3, "magnitude", ach,
+ STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude))
+ {
+ Handle(StepRepr_MeasureRepresentationItem) aMSR1;
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aRIMU1;
+ if (data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_MeasureRepresentationItem), aMSR1) ||
+ data->ReadEntity(num, 3, "magnitude", ach, STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit), aRIMU1))
+ {
+ if (!aMSR1.IsNull())
+ aMagnitude = aMSR1;
+ else if (!aRIMU1.IsNull())
+ aMagnitude = aRIMU1;
+ }
+ }
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
aDGTTool->SetDimTol(shL, 1, arr, aName, DimSize->Name());
}
// read tolerances and datums
- else if (theEnt->IsKind(STANDARD_TYPE(StepDimTol_GeometricTolerance))) {
+ else if (theEnt->IsKind(STANDARD_TYPE(StepDimTol_GeometricTolerance)))
+ {
Handle(StepDimTol_GeometricTolerance) GT =
Handle(StepDimTol_GeometricTolerance)::DownCast(theEnt);
// read common data for tolerance
//Standard_Real dim = GT->Magnitude()->ValueComponent();
- Handle(StepBasic_MeasureWithUnit) dim3 = GT->Magnitude();
- if (dim3.IsNull()) continue;
+ if (GT->Magnitude().IsNull())
+ {
+ continue;
+ }
+ Handle(Standard_Transient) aMagnitude = GT->Magnitude();
+ Handle(StepBasic_MeasureWithUnit) dim3;
+ if (aMagnitude->IsKind(STANDARD_TYPE(StepBasic_MeasureWithUnit)))
+ {
+ dim3 = Handle(StepBasic_MeasureWithUnit)::DownCast(aMagnitude);
+ }
+ else if (aMagnitude->IsKind(STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit)))
+ {
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aReprMeasureItem =
+ Handle(StepRepr_ReprItemAndMeasureWithUnit)::DownCast(aMagnitude);
+ dim3 = aReprMeasureItem->GetMeasureWithUnit();
+ }
+ if (dim3.IsNull())
+ {
+ continue;
+ }
Standard_Real dim = dim3->ValueComponent();
- StepBasic_Unit anUnit = GT->Magnitude()->UnitComponent();
+ StepBasic_Unit anUnit = dim3->UnitComponent();
if (anUnit.IsNull()) continue;
if (!(anUnit.CaseNum(anUnit.Value()) == 1)) continue;
Handle(StepBasic_NamedUnit) NU = anUnit.NamedUnit();
XCAFDimTolObjects_GeomToleranceType aType = XCAFDimTolObjects_GeomToleranceType_None;
getTolType(theEnt, aType);
aTolObj->SetType(aType);
- if (!aTolEnt->Magnitude().IsNull()) {
- //get value
- Standard_Real aVal = aTolEnt->Magnitude()->ValueComponent();
- StepBasic_Unit anUnit = aTolEnt->Magnitude()->UnitComponent();
- if (anUnit.IsNull()) return;
- if (!(anUnit.CaseNum(anUnit.Value()) == 1)) return;
- Handle(StepBasic_NamedUnit) NU = anUnit.NamedUnit();
- STEPConstruct_UnitContext anUnitCtx;
- anUnitCtx.ComputeFactors(NU);
- aVal = aVal * anUnitCtx.LengthFactor();
- aTolObj->SetValue(aVal);
+ if (!aTolEnt->Magnitude().IsNull())
+ {
+ Handle(Standard_Transient) aMagnitude = aTolEnt->Magnitude();
+ Handle(StepBasic_MeasureWithUnit) aMWU;
+ if (aMagnitude->IsKind(STANDARD_TYPE(StepBasic_MeasureWithUnit)))
+ {
+ aMWU = Handle(StepBasic_MeasureWithUnit)::DownCast(aMagnitude);
+ }
+ else if (aMagnitude->IsKind(STANDARD_TYPE(StepRepr_ReprItemAndMeasureWithUnit)))
+ {
+ Handle(StepRepr_ReprItemAndMeasureWithUnit) aReprMeasureItem =
+ Handle(StepRepr_ReprItemAndMeasureWithUnit)::DownCast(aMagnitude);
+ aMWU = aReprMeasureItem->GetMeasureWithUnit();
+ }
+ if (!aMWU.IsNull())
+ {
+ // Get value
+ Standard_Real aVal = aMWU->ValueComponent();
+ StepBasic_Unit anUnit = aMWU->UnitComponent();
+ if (!anUnit.IsNull() && anUnit.CaseNum(anUnit.Value()) == 1)
+ {
+ Handle(StepBasic_NamedUnit) NU = anUnit.NamedUnit();
+ STEPConstruct_UnitContext anUnitCtx;
+ anUnitCtx.ComputeFactors(NU);
+ if (anUnitCtx.LengthFactor() > 0.)
+ {
+ aVal = aVal * anUnitCtx.LengthFactor();
+ }
+ }
+ aTolObj->SetValue(aVal);
+ }
}
//get modifiers
XCAFDimTolObjects_GeomToleranceTypeValue aTypeV = XCAFDimTolObjects_GeomToleranceTypeValue_None;
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-
-#include <StepBasic_MeasureWithUnit.hxx>
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
#include <StepDimTol_GeoTolAndGeoTolWthDatRef.hxx>
#include <StepRepr_ShapeAspect.hxx>
void StepDimTol_GeoTolAndGeoTolWthDatRef::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const StepDimTol_GeometricToleranceType theType)
void StepDimTol_GeoTolAndGeoTolWthDatRef::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const StepDimTol_GeometricToleranceType theType)
class StepDimTol_GeometricToleranceTarget;
class StepDimTol_GeometricToleranceWithDatumReference;
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepRepr_ShapeAspect;
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const StepDimTol_GeometricToleranceType theType);
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
const Handle(TCollection_HAsciiString)& aDescription,
- const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
+ const Handle(Standard_Transient)& aMagnitude,
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
const StepDimTol_GeometricToleranceType theType);
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-
#include <StepBasic_LengthMeasureWithUnit.hxx>
-#include <StepBasic_MeasureWithUnit.hxx>
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.hxx>
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
class StepDimTol_GeometricToleranceWithModifiers;
class TCollection_HAsciiString;
class StepBasic_LengthMeasureWithUnit;
-class StepBasic_MeasureWithUnit;
class StepRepr_ShapeAspect;
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
const Handle(TCollection_HAsciiString)& aDescription,
- const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
+ const Handle(Standard_Transient)& aMagnitude,
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& aGTWM,
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-
-#include <StepBasic_MeasureWithUnit.hxx>
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod.hxx>
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
void StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
class StepDimTol_GeometricToleranceWithDatumReference;
class StepDimTol_GeometricToleranceWithModifiers;
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepRepr_ShapeAspect;
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
const Handle(TCollection_HAsciiString)& aDescription,
- const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
+ const Handle(Standard_Transient)& aMagnitude,
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& aGTWM,
// commercial license or contractual agreement.
-#include <StepBasic_MeasureWithUnit.hxx>
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
#include <StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.hxx>
#include <StepDimTol_ModifiedGeometricTolerance.hxx>
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::Init
(const Handle(TCollection_HAsciiString)& aName,
const Handle(TCollection_HAsciiString)& aDescription,
- const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
+ const Handle(Standard_Transient)& aMagnitude,
const Handle(StepRepr_ShapeAspect)& aTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT)
void StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::Init
(const Handle(TCollection_HAsciiString)& aName,
const Handle(TCollection_HAsciiString)& aDescription,
- const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
+ const Handle(Standard_Transient)& aMagnitude,
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT)
class StepDimTol_ModifiedGeometricTolerance;
class StepDimTol_PositionTolerance;
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepRepr_ShapeAspect;
Standard_EXPORT StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol();
- Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TCollection_HAsciiString)& aDescription, const Handle(StepBasic_MeasureWithUnit)& aMagnitude, const Handle(StepRepr_ShapeAspect)& aTolerancedShapeAspect, const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR, const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT);
+ Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TCollection_HAsciiString)& aDescription, const Handle(Standard_Transient)& aMagnitude, const Handle(StepRepr_ShapeAspect)& aTolerancedShapeAspect, const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR, const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT);
- Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TCollection_HAsciiString)& aDescription, const Handle(StepBasic_MeasureWithUnit)& aMagnitude, const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect, const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR, const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT);
+ Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TCollection_HAsciiString)& aDescription, const Handle(Standard_Transient)& aMagnitude, const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect, const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR, const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT);
Standard_EXPORT void SetGeometricToleranceWithDatumReference (const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR);
void StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const StepDimTol_GeometricToleranceType theType,
void StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const StepDimTol_GeometricToleranceType theType,
class StepDimTol_GeometricToleranceWithDatumReference;
class StepDimTol_UnequallyDisposedGeometricTolerance;
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepRepr_ShapeAspect;
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
const StepDimTol_GeometricToleranceType theType,
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
const Handle(TCollection_HAsciiString)& aDescription,
- const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
+ const Handle(Standard_Transient)& aMagnitude,
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
const StepDimTol_GeometricToleranceType theType,
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-
#include <StepBasic_LengthMeasureWithUnit.hxx>
-#include <StepBasic_MeasureWithUnit.hxx>
#include <StepDimTol_GeoTolAndGeoTolWthMaxTol.hxx>
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
#include <StepRepr_ShapeAspect.hxx>
void StepDimTol_GeoTolAndGeoTolWthMaxTol::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
void StepDimTol_GeoTolAndGeoTolWthMaxTol::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
class StepDimTol_GeometricToleranceWithModifiers;
class TCollection_HAsciiString;
class StepBasic_LengthMeasureWithUnit;
-class StepBasic_MeasureWithUnit;
class StepRepr_ShapeAspect;
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
const Handle(TCollection_HAsciiString)& aDescription,
- const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
+ const Handle(Standard_Transient)& aMagnitude,
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& aGTWM,
const Handle(StepBasic_LengthMeasureWithUnit)& theMaxTol,
// commercial license or contractual agreement.
-#include <StepBasic_MeasureWithUnit.hxx>
#include <StepDimTol_GeoTolAndGeoTolWthMod.hxx>
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
#include <StepRepr_ShapeAspect.hxx>
void StepDimTol_GeoTolAndGeoTolWthMod::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
const StepDimTol_GeometricToleranceType theType)
void StepDimTol_GeoTolAndGeoTolWthMod::Init
(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
const StepDimTol_GeometricToleranceType theType)
class StepDimTol_GeometricToleranceTarget;
class StepDimTol_GeometricToleranceWithModifiers;
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepRepr_ShapeAspect;
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM,
const StepDimTol_GeometricToleranceType theType);
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName,
const Handle(TCollection_HAsciiString)& aDescription,
- const Handle(StepBasic_MeasureWithUnit)& aMagnitude,
+ const Handle(Standard_Transient)& aMagnitude,
const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
const Handle(StepDimTol_GeometricToleranceWithModifiers)& aGTWM,
const StepDimTol_GeometricToleranceType theType);
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
-#include <StepBasic_MeasureWithUnit.hxx>
#include <StepDimTol_GeometricTolerance.hxx>
#include <StepDimTol_GeometricToleranceTarget.hxx>
#include <StepRepr_ShapeAspect.hxx>
void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
const Handle(TCollection_HAsciiString) &theDescription,
- const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
+ const Handle(Standard_Transient) &theMagnitude,
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect)
{
void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
const Handle(TCollection_HAsciiString) &theDescription,
- const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
+ const Handle(Standard_Transient) &theMagnitude,
const Handle(StepRepr_ShapeAspect) &theTolerancedShapeAspect)
{
//purpose :
//=======================================================================
-Handle(StepBasic_MeasureWithUnit) StepDimTol_GeometricTolerance::Magnitude () const
+Handle(Standard_Transient) StepDimTol_GeometricTolerance::Magnitude () const
{
return myMagnitude;
}
//purpose :
//=======================================================================
-void StepDimTol_GeometricTolerance::SetMagnitude (const Handle(StepBasic_MeasureWithUnit) &theMagnitude)
+void StepDimTol_GeometricTolerance::SetMagnitude (const Handle(Standard_Transient) &theMagnitude)
{
myMagnitude = theMagnitude;
}
#include <Standard_Transient.hxx>
#include <StepDimTol_GeometricToleranceTarget.hxx>
+
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepRepr_ShapeAspect;
-
class StepDimTol_GeometricTolerance;
DEFINE_STANDARD_HANDLE(StepDimTol_GeometricTolerance, Standard_Transient)
//! Initialize all fields (own and inherited) AP214
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect);
//! Initialize all fields (own and inherited) AP242
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect);
//! Returns field Name
Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& theDescription);
//! Returns field Magnitude
- Standard_EXPORT Handle(StepBasic_MeasureWithUnit) Magnitude() const;
+ Standard_EXPORT Handle(Standard_Transient) Magnitude() const;
//! Set field Magnitude
- Standard_EXPORT void SetMagnitude (const Handle(StepBasic_MeasureWithUnit)& theMagnitude);
+ Standard_EXPORT void SetMagnitude (const Handle(Standard_Transient)& theMagnitude);
//! Returns field TolerancedShapeAspect
//! Note: in AP214(203) type of this attribute can be only StepRepr_ShapeAspect
Handle(TCollection_HAsciiString) myName;
Handle(TCollection_HAsciiString) myDescription;
- Handle(StepBasic_MeasureWithUnit) myMagnitude;
+ Handle(Standard_Transient) myMagnitude;
StepDimTol_GeometricToleranceTarget myTolerancedShapeAspect;
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
#include <Standard_Type.hxx>
-#include <StepBasic_MeasureWithUnit.hxx>
#include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
#include <StepRepr_ShapeAspect.hxx>
#include <TCollection_HAsciiString.hxx>
void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
- const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
+ const Handle(Standard_Transient) &theGeometricTolerance_Magnitude,
const Handle(StepRepr_ShapeAspect) &theGeometricTolerance_TolerancedShapeAspect,
const Handle(StepDimTol_HArray1OfDatumReference) &theDatumSystem)
{
void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
- const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
+ const Handle(Standard_Transient) &theGeometricTolerance_Magnitude,
const StepDimTol_GeometricToleranceTarget &theGeometricTolerance_TolerancedShapeAspect,
const Handle(StepDimTol_HArray1OfDatumSystemOrReference) &theDatumSystem)
{
#include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
#include <StepDimTol_GeometricTolerance.hxx>
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepDimTol_GeometricToleranceTarget;
class StepRepr_ShapeAspect;
//! Initialize all fields (own and inherited) AP214
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
- const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
+ const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
const Handle(StepRepr_ShapeAspect)& theGeometricTolerance_TolerancedShapeAspect,
const Handle(StepDimTol_HArray1OfDatumReference)& theDatumSystem);
//! Initialize all fields (own and inherited) AP242
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
- const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
+ const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
const StepDimTol_GeometricToleranceTarget& theGeometricTolerance_TolerancedShapeAspect,
const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem);
void StepDimTol_GeometricToleranceWithDefinedAreaUnit::
Init (const Handle(TCollection_HAsciiString) &theName,
const Handle(TCollection_HAsciiString) &theDescription,
- const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
+ const Handle(Standard_Transient) &theMagnitude,
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize,
const StepDimTol_AreaUnitType theUnitType,
class StepBasic_LengthMeasureWithUnit;
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepDimTol_GeometricToleranceTarget;
class StepDimTol_GeometricToleranceWithDefinedAreaUnit;
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize,
const StepDimTol_AreaUnitType theAreaType, const Standard_Boolean theHasSecondUnitSize,
void StepDimTol_GeometricToleranceWithDefinedUnit::Init (const Handle(TCollection_HAsciiString) &theName,
const Handle(TCollection_HAsciiString) &theDescription,
- const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
+ const Handle(Standard_Transient) &theMagnitude,
const Handle(StepRepr_ShapeAspect) &theTolerancedShapeAspect,
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
{
void StepDimTol_GeometricToleranceWithDefinedUnit::Init (const Handle(TCollection_HAsciiString) &theName,
const Handle(TCollection_HAsciiString) &theDescription,
- const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
+ const Handle(Standard_Transient) &theMagnitude,
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
{
class StepBasic_LengthMeasureWithUnit;
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepDimTol_GeometricToleranceTarget;
class StepRepr_ShapeAspect;
Standard_EXPORT StepDimTol_GeometricToleranceWithDefinedUnit();
//! Initialize all fields (own and inherited) AP214
- 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) ;
+ Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(Standard_Transient)& theMagnitude, const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect, const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize) ;
//! Initialize all fields (own and inherited) AP242
- 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) ;
+ Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(Standard_Transient)& theMagnitude, const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect, const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize) ;
//! Returns field UnitSize
inline Handle(StepBasic_LengthMeasureWithUnit) UnitSize () const
void StepDimTol_GeometricToleranceWithMaximumTolerance::
Init (const Handle(TCollection_HAsciiString) &theName,
const Handle(TCollection_HAsciiString) &theDescription,
- const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
+ const Handle(Standard_Transient) &theMagnitude,
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers,
const Handle(StepBasic_LengthMeasureWithUnit) &theMaximumUpperTolerance)
#include <StepDimTol_GeometricToleranceWithModifiers.hxx>
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepDimTol_GeometricToleranceTarget;
class StepDimTol_HArray1OfGeometricToleranceModifier;
Standard_EXPORT StepDimTol_GeometricToleranceWithMaximumTolerance();
//! Initialize all fields (own and inherited)
- 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(StepDimTol_HArray1OfGeometricToleranceModifier)& theModifiers, const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize) ;
+ Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(Standard_Transient)& theMagnitude, const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect, const Handle(StepDimTol_HArray1OfGeometricToleranceModifier)& theModifiers, const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize) ;
//! Returns field MaximumUpperTolerance
inline Handle(StepBasic_LengthMeasureWithUnit) MaximumUpperTolerance () const
void StepDimTol_GeometricToleranceWithModifiers::Init (const Handle(TCollection_HAsciiString) &theName,
const Handle(TCollection_HAsciiString) &theDescription,
- const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
+ const Handle(Standard_Transient) &theMagnitude,
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers)
{
#include <StepDimTol_HArray1OfGeometricToleranceModifier.hxx>
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepDimTol_GeometricToleranceTarget;
class StepDimTol_GeometricToleranceWithModifiers;
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
- const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
+ const Handle(Standard_Transient)& theMagnitude,
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier)& theModifiers) ;
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
-#include <StepBasic_MeasureWithUnit.hxx>
#include <StepDimTol_ModifiedGeometricTolerance.hxx>
#include <StepDimTol_GeometricToleranceTarget.hxx>
#include <StepRepr_ShapeAspect.hxx>
void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
- const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
+ const Handle(Standard_Transient) &theGeometricTolerance_Magnitude,
const Handle(StepRepr_ShapeAspect) &theGeometricTolerance_TolerancedShapeAspect,
const StepDimTol_LimitCondition theModifier)
{
void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
- const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
+ const Handle(Standard_Transient) &theGeometricTolerance_Magnitude,
const StepDimTol_GeometricToleranceTarget &theGeometricTolerance_TolerancedShapeAspect,
const StepDimTol_LimitCondition theModifier)
{
#include <StepDimTol_LimitCondition.hxx>
#include <StepDimTol_GeometricTolerance.hxx>
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepDimTol_GeometricToleranceTarget;
class StepRepr_ShapeAspect;
//! Initialize all fields (own and inherited) AP214
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
- const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
+ const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
const Handle(StepRepr_ShapeAspect)& theGeometricTolerance_TolerancedShapeAspect,
const StepDimTol_LimitCondition theModifier);
//! Initialize all fields (own and inherited) AP242
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
- const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
+ const Handle(Standard_Transient)& theGeometricTolerance_Magnitude,
const StepDimTol_GeometricToleranceTarget& theGeometricTolerance_TolerancedShapeAspect,
const StepDimTol_LimitCondition theModifier);
void StepDimTol_UnequallyDisposedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
const Handle(TCollection_HAsciiString) &theDescription,
- const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
+ const Handle(Standard_Transient) &theMagnitude,
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
const Handle(StepBasic_LengthMeasureWithUnit) &theDisplacement)
{
#include <StepDimTol_GeometricTolerance.hxx>
class TCollection_HAsciiString;
-class StepBasic_MeasureWithUnit;
class StepDimTol_GeometricToleranceTarget;
class StepDimTol_UnequallyDisposedGeometricTolerance;
Standard_EXPORT StepDimTol_UnequallyDisposedGeometricTolerance();
//! Initialize all fields (own and inherited)
- 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)& theDisplacement) ;
+ Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(Standard_Transient)& theMagnitude, const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect, const Handle(StepBasic_LengthMeasureWithUnit)& theDisplacement) ;
//! Returns field Displacement
inline Handle(StepBasic_LengthMeasureWithUnit) Displacement () const