#include <StepData_StepReaderData.hxx>
#include <StepData_StepWriter.hxx>
#include <StepDimTol_GeometricTolerance.hxx>
-#include <StepRepr_ShapeAspect.hxx>
+#include <StepDimTol_GeometricToleranceTarget.hxx>
//=======================================================================
//function : RWStepDimTol_RWGeometricTolerance
Handle(StepBasic_MeasureWithUnit) aMagnitude;
data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aMagnitude);
- Handle(StepRepr_ShapeAspect) aTolerancedShapeAspect;
- data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, STANDARD_TYPE(StepRepr_ShapeAspect), aTolerancedShapeAspect);
+ StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
+ data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
// Initialize entity
ent->Init(aName,
SW.Send (ent->Magnitude());
- SW.Send (ent->TolerancedShapeAspect());
+ SW.Send (ent->TolerancedShapeAspect().Value());
}
//=======================================================================
iter.AddItem (ent->Magnitude());
- iter.AddItem (ent->TolerancedShapeAspect());
+ iter.AddItem (ent->TolerancedShapeAspect().Value());
}