diff --git a/dox/user_guides/step/step.md b/dox/user_guides/step/step.md
index 8328a914fb..b09a64e7bc 100644
--- a/dox/user_guides/step/step.md
+++ b/dox/user_guides/step/step.md
@@ -94,6 +94,7 @@ The types of STEP representation entities that are recognized are:
* geometrically_bounded_wireframe_shape_representation
* geometrically_bounded_surface_shape_representation
* hybrid representations (shape_representation containing models of different type)
+ * tessellated_shape_representation
@subsubsection occt_step_2_2_3 Topological entities
The types of STEP topological entities that can be translated are:
@@ -112,6 +113,7 @@ The types of STEP geometrical entities that can be translated are:
* directions
* curves
* surfaces
+ * triangulations
For further information see 2.4 Mapping STEP entities to Open CASCADE Technology shapes.
@@ -335,7 +337,7 @@ Specifies preferred type of representation of the shape of the product, in case
* 4 (GBSSR) -- Prefer GEOMETRICALLY_BOUNDED_SURFACE_SHAPE_REPRESENTATION
* 5 (FBSR) -- Prefer FACETTED_BREP_SHAPE_REPRESENTATION
* 6 (EBWSR) -- Prefer EDGE_BASED_WIREFRAME_SHAPE_REPRESENTATION
-* 7 (GBWSR) -- Prefer GEOMETRICALLY_BOUNDED_WIREFRAME _SHAPE_REPRESENTATION
+* 7 (GBWSR) -- Prefer GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION
When this option is not equal to 1, for products with multiple representations the representation having a type closest to the selected one in this list will be translated.
@@ -445,6 +447,34 @@ of for each of the two "AXIS2_PLACEMENT_3D" entities referenced by it. as follow
}
~~~~~
+
read.step.tessellated:
+
+Boolean flag regulating translation of entities that define tessellated geometry:
+
+* TESSELLATED_SHAPE_REPRESENTATION
+* TESSELLATED_SHELL
+* TESSELLATED_SOLID
+* TRIANGULATED_FACE
+* COMPLEX_TRIANGULATED_FACE
+
+Tesselated geometry is attached to shapes as objects of Poly_Triangulation type using STEP links.
+
+* 0 (Off) -- do not translate
+* 1 (On) -- translate
+* 2 (OnNoBRep) - tessellation is read only for entities for which there is no BRep representation
+
+Read this parameter with:
+~~~~{.cpp}
+Standard_Integer ic = Interface_Static::IVal("read.step.tessellated");
+~~~~
+
+Modify this parameter with:
+~~~~{.cpp}
+if(!Interface_Static::SetIVal("read.step.tessellated",1))
+.. error ..
+~~~~
+Default value is 0 (On).
+
@subsubsection occt_step_2_3_4 Performing the STEP file translation
Perform the translation according to what you want to translate. You can choose either root entities (all or selected by the number of root), or select any entity by its number in the STEP file. There is a limited set of types of entities that can be used as starting entities for translation. Only the following entities are recognized as transferable:
@@ -462,6 +492,11 @@ Perform the translation according to what you want to translate. You can choose
* subtypes of face_surface (including advanced_face)
* subtypes of shape_representation_relationship
* context_dependent_shape_representation
+ * tessellated_shape_representation
+ * tessellated_shell
+ * tessellated_solid
+ * triangulated_face
+ * complex_triangulated_face
The following methods are used for translation:
@@ -681,6 +716,10 @@ Not all entities defining the assembly structure in the STEP file are translated
| | quasi_uniform_surface | Geom_BSplineSurface | |
| | rectangular_composite_surface | TopoDS_Compound | Contains *TopoDS_Faces* |
| | curve_bounded_surface | TopoDS_Face | |
+| Tessellations | tessellated_shell | TopoDS_Shell | |
+| | tessellated_solid | TopoDS_Solid | |
+| | triangulated_face | TopoDS_Face | Contains *Poly_Triangulation* |
+| | complex_triangulated_face | TopoDS_Face | Contains *Poly_Triangulation* |
@subsection occt_step_2_5 Tolerance management
@@ -743,6 +782,7 @@ The following default tolerances are used when creating shapes and how they are
* *StepToTopoDS_TranslatePolyLoop* constructs *TopoDS_Edges* in *TopoDS_Wire* with help of class *StepToTopoDS_TranslateEdge*. Their tolerances are not modified inside this method.
* *StepToTopoDS_TranslateFace* constructs *TopoDS_Face* with the initial value of tolerance. *TopoDS_Wire* on *TopoDS_Face* is constructed with the help of classes *StepToTopoDS_TranslatePolyLoop, StepToTopoDS_TranslateEdgeLoop* or *StepToTopoDS_TranslateVertexLoop*.
* *StepToTopoDS_TranslateShell* calls *StepToTopoDS_TranslateFace::Init* for each face. This class does not modify the tolerance value.
+* *StepToTopoDS_TranslateSolid* calls *StepToTopoDS_TranslateFace::Init* for each face. This class does not modify the tolerance value.
* *StepToTopoDS_TranslateCompositeCurve* constructs *TopoDS_Edges* in *TopoDS_Wire* with help of class *BRepAPI_MakeEdge* and have a tolerance 10-7. Pcurves from a STEP file are translated if they are present and if *read.surfacecurve.mode* is not -3. The connection between segments of a composite curve (edges in the wire) is provided by calling method *ShapeFix_Wire::FixConnected()\** with a precision equal to the initial value of tolerance.
* *StepToTopoDS_TranslateCurveBoundedSurface* constructs *TopoDS_Face* with tolerance *Precision::Confusion()*. *TopoDS_Wire* on *TopoDS_Face* is constructed with the help of class *StepToTopoDS_TranslateCompositeCurve*. Missing pcurves are computed using projection algorithm with the help of method *ShapeFix_Face::FixPcurves()*. For resulting face method *ShapeFix::SameParameter()* is called. It calls standard *BRepLib::SameParameter* for each edge in each wire, which can either increase or decrease the tolerances of the edges and vertices. *SameParameter* writes the tolerance corresponding to the real deviation of pcurves from 3D curve which can be less or greater than the tolerance in a STEP file.
* *StepToTopoDS_Builder* a high level class. Its methods perform translation with the help of the classes listed above. If the value of *read.maxprecision.mode* is set to 1 then the tolerance of subshapes of the resulting shape is limited by 0 and *read.maxprecision.val*. Else this class does not change the tolerance value.
@@ -969,6 +1009,34 @@ if(!Interface_Static::SetIVal("write.step.vertex.mode",1))
~~~~~
Default value is 0.
+write.step.tessellated:
+
+Boolean flag regulating writing of entities that define tessellated geometry:
+
+* TESSELLATED_SHAPE_REPRESENTATION
+* TESSELLATED_SHELL
+* TESSELLATED_SOLID
+* TRIANGULATED_FACE
+
+Tesselated geometry is taken as objects of Poly_Triangulation type from the active TopoDS_Face triangulation.
+
+* 0 (Off) -- do not write
+* 1 (On) -- write
+* 2 (OnNoBRep) - tessellation is written only for entities for which there is no BRep representation
+
+Read this parameter with:
+~~~~{.cpp}
+Standard_Integer ic = Interface_Static::IVal("write.step.tessellated");
+~~~~
+
+Modify this parameter with:
+~~~~{.cpp}
+if(!Interface_Static::SetIVal("write.step.tessellated",1))
+.. error ..
+~~~~
+
+Default value is 2 (OnNoBep).
+
@subsubsection occt_step_3_3_3 Performing the Open CASCADE Technology shape translation
An OCCT shape can be translated to STEP using one of the following models (shape_representations):
* manifold_solid_brep (advanced_brep_shape_representation)
@@ -1092,6 +1160,7 @@ The table below describes STEP entities, which are created when the assembly str
| | Geom_ToroidalSurface | toroidal_surface or degenerate_toroidal_surface | *degenerate_toroidal_surface* is produced if the minor radius is greater then the major one |
| | Geom_BezierSurface | b_spline_surface_with_knots | |
| | Geom_BsplineSurface | b_spline_surface_with_knots or rational_b_spline_surface | *rational_b_spline_surface* is produced if *Geom_BSplineSurface* is a rational Bspline |
+| Triangulations | Poly_Triangulation | *triangulated_face* is produced for face active triangulation | |
@subsection occt_step_3_5 Tolerance management
diff --git a/src/RWStepAP214/RWStepAP214_GeneralModule.cxx b/src/RWStepAP214/RWStepAP214_GeneralModule.cxx
index 1a411dce26..685c2eae1c 100644
--- a/src/RWStepAP214/RWStepAP214_GeneralModule.cxx
+++ b/src/RWStepAP214/RWStepAP214_GeneralModule.cxx
@@ -1370,6 +1370,38 @@ IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_GeneralModule,StepData_GeneralModule)
#include
#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
static Standard_Integer catsh,catdr,catstr,catdsc,cataux;
@@ -5204,8 +5236,113 @@ void RWStepAP214_GeneralModule::FillSharedCase(const Standard_Integer CN,
aTool.Share(anEnt, iter);
break;
}
- default : break;
- }
+ case 804:
+ {
+ DeclareAndCast(StepVisual_TessellatedConnectingEdge, anEnt, ent);
+ RWStepVisual_RWTessellatedConnectingEdge aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 805:
+ {
+ DeclareAndCast(StepVisual_TessellatedEdge, anEnt, ent);
+ RWStepVisual_RWTessellatedEdge aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 806:
+ {
+ DeclareAndCast(StepVisual_TessellatedPointSet, anEnt, ent);
+ RWStepVisual_RWTessellatedPointSet aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 807:
+ {
+ DeclareAndCast(StepVisual_TessellatedShapeRepresentation, anEnt, ent);
+ RWStepVisual_RWTessellatedShapeRepresentation aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 808:
+ {
+ DeclareAndCast(StepVisual_TessellatedShapeRepresentationWithAccuracyParameters, anEnt, ent);
+ RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 809:
+ {
+ DeclareAndCast(StepVisual_TessellatedShell, anEnt, ent);
+ RWStepVisual_RWTessellatedShell aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 810:
+ {
+ DeclareAndCast(StepVisual_TessellatedSolid, anEnt, ent);
+ RWStepVisual_RWTessellatedSolid aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 811:
+ {
+ DeclareAndCast(StepVisual_TessellatedStructuredItem, anEnt, ent);
+ RWStepVisual_RWTessellatedStructuredItem aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 812:
+ {
+ DeclareAndCast(StepVisual_TessellatedVertex, anEnt, ent);
+ RWStepVisual_RWTessellatedVertex aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 813:
+ {
+ DeclareAndCast(StepVisual_TessellatedWire, anEnt, ent);
+ RWStepVisual_RWTessellatedWire aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 814:
+ {
+ DeclareAndCast(StepVisual_TriangulatedFace, anEnt, ent);
+ RWStepVisual_RWTriangulatedFace aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 815:
+ {
+ DeclareAndCast(StepVisual_ComplexTriangulatedFace, anEnt, ent);
+ RWStepVisual_RWComplexTriangulatedFace aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 816:
+ {
+ DeclareAndCast(StepVisual_ComplexTriangulatedSurfaceSet, anEnt, ent);
+ RWStepVisual_RWComplexTriangulatedSurfaceSet aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 817:
+ {
+ DeclareAndCast(StepVisual_CubicBezierTessellatedEdge, anEnt, ent);
+ RWStepVisual_RWCubicBezierTessellatedEdge aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ case 818:
+ {
+ DeclareAndCast(StepVisual_CubicBezierTriangulatedFace, anEnt, ent);
+ RWStepVisual_RWCubicBezierTriangulatedFace aTool;
+ aTool.Share(anEnt, iter);
+ }
+ break;
+ default : break;
+ }
}
@@ -7234,6 +7371,52 @@ Standard_Boolean RWStepAP214_GeneralModule::NewVoid
case 803:
ent = new StepVisual_RepositionedTessellatedItem;
break;
+ case 804:
+ ent = new StepVisual_TessellatedConnectingEdge;
+ break;
+ case 805:
+ ent = new StepVisual_TessellatedEdge;
+ break;
+ case 806:
+ ent = new StepVisual_TessellatedPointSet;
+ break;
+ case 807:
+ ent = new StepVisual_TessellatedShapeRepresentation;
+ break;
+ case 808:
+ ent = new StepVisual_TessellatedShapeRepresentationWithAccuracyParameters;
+ break;
+ case 809:
+ ent = new StepVisual_TessellatedShell;
+ break;
+ case 810:
+ ent = new StepVisual_TessellatedSolid;
+ break;
+ case 811:
+ ent = new StepVisual_TessellatedStructuredItem;
+ break;
+ case 812:
+ ent = new StepVisual_TessellatedVertex;
+ break;
+ case 813:
+ ent = new StepVisual_TessellatedWire;
+ break;
+ case 814:
+ ent = new StepVisual_TriangulatedFace;
+ break;
+ case 815:
+ ent = new StepVisual_ComplexTriangulatedFace;
+ break;
+ case 816:
+ ent = new StepVisual_ComplexTriangulatedSurfaceSet;
+ break;
+ case 817:
+ ent = new StepVisual_CubicBezierTessellatedEdge;
+ break;
+ case 818:
+ ent = new StepVisual_CubicBezierTriangulatedFace;
+ break;
+
default:
return Standard_False;
}
@@ -7838,6 +8021,21 @@ Standard_Integer RWStepAP214_GeneralModule::CategoryNumber
case 723: return catdr;
case 802: return cataux;
case 803: return cataux;
+ case 804: return cataux;
+ case 805: return cataux;
+ case 806: return cataux;
+ case 807: return cataux;
+ case 808: return cataux;
+ case 809: return cataux;
+ case 810: return cataux;
+ case 811: return cataux;
+ case 812: return cataux;
+ case 813: return cataux;
+ case 814: return cataux;
+ case 815: return cataux;
+ case 816: return cataux;
+ case 817: return cataux;
+ case 818: return cataux;
default : break;
}
return 0;
diff --git a/src/RWStepAP214/RWStepAP214_ReadWriteModule.cxx b/src/RWStepAP214/RWStepAP214_ReadWriteModule.cxx
index eab7aab7fd..47ab1fe58a 100644
--- a/src/RWStepAP214/RWStepAP214_ReadWriteModule.cxx
+++ b/src/RWStepAP214/RWStepAP214_ReadWriteModule.cxx
@@ -440,6 +440,38 @@ IMPLEMENT_STANDARD_RTTIEXT(RWStepAP214_ReadWriteModule,StepData_ReadWriteModule)
#include
#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
#include
#include
#include
@@ -2066,6 +2098,22 @@ static TCollection_AsciiString Reco_SurfaceStyleReflectanceAmbient("SURFACE_STYL
static TCollection_AsciiString Reco_SurfaceStyleRendering("SURFACE_STYLE_RENDERING");
static TCollection_AsciiString Reco_SurfaceStyleRenderingWithProperties("SURFACE_STYLE_RENDERING_WITH_PROPERTIES");
+static TCollection_AsciiString Reco_TessellatedConnectingEdge("TESSELLATED_CONNECTING_EDGE");
+static TCollection_AsciiString Reco_TessellatedEdge("TESSELLATED_EDGE");
+static TCollection_AsciiString Reco_TessellatedPointSet("TESSELLATED_POINT_SET");
+static TCollection_AsciiString Reco_TessellatedShapeRepresentation("TESSELLATED_SHAPE_REPRESENTATION");
+static TCollection_AsciiString Reco_TessellatedShapeRepresentationWithAccuracyParameters("TESSELLATED_SHAPE_REPRESENTATION_WITH_ACCURACY_PARAMETERS");
+static TCollection_AsciiString Reco_TessellatedShell("TESSELLATED_SHELL");
+static TCollection_AsciiString Reco_TessellatedSolid("TESSELLATED_SOLID");
+static TCollection_AsciiString Reco_TessellatedStructuredItem("TESSELLATED_STRUCTURED_ITEM");
+static TCollection_AsciiString Reco_TessellatedVertex("TESSELLATED_VERTEX");
+static TCollection_AsciiString Reco_TessellatedWire("TESSELLATED_WIRE");
+static TCollection_AsciiString Reco_TriangulatedFace("TRIANGULATED_FACE");
+static TCollection_AsciiString Reco_ComplexTriangulatedFace("COMPLEX_TRIANGULATED_FACE");
+static TCollection_AsciiString Reco_ComplexTriangulatedSurfaceSet("COMPLEX_TRIANGULATED_SURFACE_SET");
+static TCollection_AsciiString Reco_CubicBezierTessellatedEdge("CUBIC_BEZIER_TESSELLATED_EDGE");
+static TCollection_AsciiString Reco_CubicBezierTriangulatedFace("CUBIC_BEZIER_TRIANGULATED_FACE");
+
// -- Definition of the libraries --
static NCollection_DataMap typenums;
@@ -2714,21 +2762,37 @@ RWStepAP214_ReadWriteModule::RWStepAP214_ReadWriteModule ()
typenums.Bind (Reco_TessellatedAnnotationOccurrence,707);
typenums.Bind (Reco_TessellatedGeometricSet, 709);
- typenums.Bind ( Reco_TessellatedCurveSet, 710);
- typenums.Bind ( Reco_CoordinatesList, 711);
- typenums.Bind ( Reco_ConstructiveGeometryRepresentation, 712);
- typenums.Bind ( Reco_ConstructiveGeometryRepresentationRelationship, 713);
- typenums.Bind ( Reco_CharacterizedRepresentation, 714);
- typenums.Bind ( Reco_CameraModelD3MultiClipping, 716);
- typenums.Bind ( Reco_CameraModelD3MultiClippingIntersection, 717);
- typenums.Bind ( Reco_CameraModelD3MultiClippingUnion, 718);
+ typenums.Bind (Reco_TessellatedCurveSet, 710);
+ typenums.Bind (Reco_CoordinatesList, 711);
+ typenums.Bind (Reco_ConstructiveGeometryRepresentation, 712);
+ typenums.Bind (Reco_ConstructiveGeometryRepresentationRelationship, 713);
+ typenums.Bind (Reco_CharacterizedRepresentation, 714);
+ typenums.Bind (Reco_CameraModelD3MultiClipping, 716);
+ typenums.Bind (Reco_CameraModelD3MultiClippingIntersection, 717);
+ typenums.Bind (Reco_CameraModelD3MultiClippingUnion, 718);
typenums.Bind (Reco_SurfaceStyleTransparent, 720);
typenums.Bind (Reco_SurfaceStyleReflectanceAmbient, 721);
typenums.Bind (Reco_SurfaceStyleRendering, 722);
typenums.Bind (Reco_SurfaceStyleRenderingWithProperties, 723);
typenums.Bind (Reco_RepositionedTessellatedItem, 803);
+ typenums.Bind (Reco_TessellatedConnectingEdge, 804);
+ typenums.Bind (Reco_TessellatedEdge, 805);
+ typenums.Bind (Reco_TessellatedPointSet, 806);
+ typenums.Bind (Reco_TessellatedShapeRepresentation, 807);
+ typenums.Bind (Reco_TessellatedShapeRepresentationWithAccuracyParameters, 808);
+ typenums.Bind (Reco_TessellatedShell, 809);
+ typenums.Bind (Reco_TessellatedSolid, 810);
+ typenums.Bind (Reco_TessellatedStructuredItem, 811);
+ typenums.Bind (Reco_TessellatedVertex, 812);
+ typenums.Bind (Reco_TessellatedWire, 813);
+ typenums.Bind (Reco_TriangulatedFace, 814);
+ typenums.Bind (Reco_ComplexTriangulatedFace, 815);
+ typenums.Bind (Reco_ComplexTriangulatedSurfaceSet, 816);
+ typenums.Bind (Reco_CubicBezierTessellatedEdge, 817);
+ typenums.Bind (Reco_CubicBezierTriangulatedFace, 818);
+
// SHORT NAMES
// NB : la liste est celle de AP203
// Directement exploite pour les types simples
@@ -4599,6 +4663,21 @@ const TCollection_AsciiString& RWStepAP214_ReadWriteModule::StepType
case 723 : return Reco_SurfaceStyleRenderingWithProperties;
case 803: return Reco_RepositionedTessellatedItem;
+ case 804: return Reco_TessellatedConnectingEdge;
+ case 805: return Reco_TessellatedEdge;
+ case 806: return Reco_TessellatedPointSet;
+ case 807: return Reco_TessellatedShapeRepresentation;
+ case 808: return Reco_TessellatedShapeRepresentationWithAccuracyParameters;
+ case 809: return Reco_TessellatedShell;
+ case 810: return Reco_TessellatedSolid;
+ case 811: return Reco_TessellatedStructuredItem;
+ case 812: return Reco_TessellatedVertex;
+ case 813: return Reco_TessellatedWire;
+ case 814: return Reco_TriangulatedFace;
+ case 815: return Reco_ComplexTriangulatedFace;
+ case 816: return Reco_ComplexTriangulatedSurfaceSet;
+ case 817: return Reco_CubicBezierTessellatedEdge;
+ case 818: return Reco_CubicBezierTriangulatedFace;
default : return PasReco;
}
}
@@ -9547,7 +9626,111 @@ void RWStepAP214_ReadWriteModule::ReadStep(const Standard_Integer CN,
aTool.ReadStep(data, num, ach, anEnt);
break;
}
-
+ case 804:
+ {
+ DeclareAndCast(StepVisual_TessellatedConnectingEdge, anEnt, ent);
+ RWStepVisual_RWTessellatedConnectingEdge aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 805:
+ {
+ DeclareAndCast(StepVisual_TessellatedEdge, anEnt, ent);
+ RWStepVisual_RWTessellatedEdge aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 806:
+ {
+ DeclareAndCast(StepVisual_TessellatedPointSet, anEnt, ent);
+ RWStepVisual_RWTessellatedPointSet aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 807:
+ {
+ DeclareAndCast(StepVisual_TessellatedShapeRepresentation, anEnt, ent);
+ RWStepVisual_RWTessellatedShapeRepresentation aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 808:
+ {
+ DeclareAndCast(StepVisual_TessellatedShapeRepresentationWithAccuracyParameters, anEnt, ent);
+ RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 809:
+ {
+ DeclareAndCast(StepVisual_TessellatedShell, anEnt, ent);
+ RWStepVisual_RWTessellatedShell aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 810:
+ {
+ DeclareAndCast(StepVisual_TessellatedSolid, anEnt, ent);
+ RWStepVisual_RWTessellatedSolid aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 811:
+ {
+ DeclareAndCast(StepVisual_TessellatedStructuredItem, anEnt, ent);
+ RWStepVisual_RWTessellatedStructuredItem aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 812:
+ {
+ DeclareAndCast(StepVisual_TessellatedVertex, anEnt, ent);
+ RWStepVisual_RWTessellatedVertex aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 813:
+ {
+ DeclareAndCast(StepVisual_TessellatedWire, anEnt, ent);
+ RWStepVisual_RWTessellatedWire aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 814:
+ {
+ DeclareAndCast(StepVisual_TriangulatedFace, anEnt, ent);
+ RWStepVisual_RWTriangulatedFace aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 815:
+ {
+ DeclareAndCast(StepVisual_ComplexTriangulatedFace, anEnt, ent);
+ RWStepVisual_RWComplexTriangulatedFace aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 816:
+ {
+ DeclareAndCast(StepVisual_ComplexTriangulatedSurfaceSet, anEnt, ent);
+ RWStepVisual_RWComplexTriangulatedSurfaceSet aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 817:
+ {
+ DeclareAndCast(StepVisual_CubicBezierTessellatedEdge, anEnt, ent);
+ RWStepVisual_RWCubicBezierTessellatedEdge aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
+ case 818:
+ {
+ DeclareAndCast(StepVisual_CubicBezierTriangulatedFace, anEnt, ent);
+ RWStepVisual_RWCubicBezierTriangulatedFace aTool;
+ aTool.ReadStep(data, num, ach, anEnt);
+ }
+ break;
default:
ach->AddFail("Type Mismatch when reading - Entity");
}
@@ -14446,7 +14629,115 @@ void RWStepAP214_ReadWriteModule::WriteStep(const Standard_Integer CN,
aTool.WriteStep(SW, anEnt);
break;
}
- default:
+
+ // --------------------------------------------------------------------
+
+ case 804:
+ {
+ DeclareAndCast(StepVisual_TessellatedConnectingEdge, anEnt, ent);
+ RWStepVisual_RWTessellatedConnectingEdge aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 805:
+ {
+ DeclareAndCast(StepVisual_TessellatedEdge, anEnt, ent);
+ RWStepVisual_RWTessellatedEdge aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 806:
+ {
+ DeclareAndCast(StepVisual_TessellatedPointSet, anEnt, ent);
+ RWStepVisual_RWTessellatedPointSet aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 807:
+ {
+ DeclareAndCast(StepVisual_TessellatedShapeRepresentation, anEnt, ent);
+ RWStepVisual_RWTessellatedShapeRepresentation aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 808:
+ {
+ DeclareAndCast(StepVisual_TessellatedShapeRepresentationWithAccuracyParameters, anEnt, ent);
+ RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 809:
+ {
+ DeclareAndCast(StepVisual_TessellatedShell, anEnt, ent);
+ RWStepVisual_RWTessellatedShell aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 810:
+ {
+ DeclareAndCast(StepVisual_TessellatedSolid, anEnt, ent);
+ RWStepVisual_RWTessellatedSolid aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 811:
+ {
+ DeclareAndCast(StepVisual_TessellatedStructuredItem, anEnt, ent);
+ RWStepVisual_RWTessellatedStructuredItem aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 812:
+ {
+ DeclareAndCast(StepVisual_TessellatedVertex, anEnt, ent);
+ RWStepVisual_RWTessellatedVertex aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 813:
+ {
+ DeclareAndCast(StepVisual_TessellatedWire, anEnt, ent);
+ RWStepVisual_RWTessellatedWire aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 814:
+ {
+ DeclareAndCast(StepVisual_TriangulatedFace, anEnt, ent);
+ RWStepVisual_RWTriangulatedFace aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 815:
+ {
+ DeclareAndCast(StepVisual_ComplexTriangulatedFace, anEnt, ent);
+ RWStepVisual_RWComplexTriangulatedFace aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 816:
+ {
+ DeclareAndCast(StepVisual_ComplexTriangulatedSurfaceSet, anEnt, ent);
+ RWStepVisual_RWComplexTriangulatedSurfaceSet aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 817:
+ {
+ DeclareAndCast(StepVisual_CubicBezierTessellatedEdge, anEnt, ent);
+ RWStepVisual_RWCubicBezierTessellatedEdge aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ case 818:
+ {
+ DeclareAndCast(StepVisual_CubicBezierTriangulatedFace, anEnt, ent);
+ RWStepVisual_RWCubicBezierTriangulatedFace aTool;
+ aTool.WriteStep(SW, anEnt);
+ }
+ break;
+ default:
return;
}
}
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnit.cxx
index 53152fd5c5..386295f071 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnit.cxx
@@ -17,74 +17,72 @@
#include
#include
#include
-#include
#include
#include
RWStepBasic_RWConversionBasedUnit::RWStepBasic_RWConversionBasedUnit () {}
-void RWStepBasic_RWConversionBasedUnit::ReadStep
- (const Handle(StepData_StepReaderData)& data,
- const Standard_Integer num,
- Handle(Interface_Check)& ach,
- const Handle(StepBasic_ConversionBasedUnit)& ent) const
+void RWStepBasic_RWConversionBasedUnit::ReadStep(const Handle(StepData_StepReaderData)& data,
+ const Standard_Integer num,
+ Handle(Interface_Check)& ach,
+ const Handle(StepBasic_ConversionBasedUnit)& ent) const
{
- // --- Number of Parameter Control ---
+ // --- Number of Parameter Control ---
- if (!data->CheckNbParams(num,3,ach,"conversion_based_unit")) return;
+ if (!data->CheckNbParams(num,3,ach,"conversion_based_unit")) return;
- // --- inherited field : dimensions ---
+ // --- inherited field : dimensions ---
- Handle(StepBasic_DimensionalExponents) aDimensions;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
- data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
+ Handle(StepBasic_DimensionalExponents) aDimensions;
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
+ data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
- // --- own field : name ---
+ // --- own field : name ---
- Handle(TCollection_HAsciiString) aName;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
- data->ReadString (num,2,"name",ach,aName);
+ Handle(TCollection_HAsciiString) aName;
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
+ data->ReadString (num,2,"name",ach,aName);
- // --- own field : conversionFactor ---
+ // --- own field : conversionFactor ---
- Handle(StepBasic_MeasureWithUnit) aConversionFactor;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
- data->ReadEntity(num, 3,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
+ Handle(Standard_Transient) aConversionFactor;
+ data->ReadEntity (num, 3, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
- //--- Initialisation of the read entity ---
+ //--- Initialisation of the read entity ---
- ent->Init(aDimensions, aName, aConversionFactor);
+ ent->Init(aDimensions, aName, aConversionFactor);
}
void RWStepBasic_RWConversionBasedUnit::WriteStep
- (StepData_StepWriter& SW,
- const Handle(StepBasic_ConversionBasedUnit)& ent) const
+ (StepData_StepWriter& SW,
+ const Handle(StepBasic_ConversionBasedUnit)& ent) const
{
- // --- inherited field dimensions ---
+ // --- inherited field dimensions ---
- SW.Send(ent->Dimensions());
+ SW.Send(ent->Dimensions());
- // --- own field : name ---
+ // --- own field : name ---
- SW.Send(ent->Name());
+ SW.Send(ent->Name());
- // --- own field : conversionFactor ---
+ // --- own field : conversionFactor ---
- SW.Send(ent->ConversionFactor());
+ SW.Send(ent->ConversionFactor());
}
void RWStepBasic_RWConversionBasedUnit::Share(const Handle(StepBasic_ConversionBasedUnit)& ent, Interface_EntityIterator& iter) const
{
- iter.GetOneItem(ent->Dimensions());
+ iter.GetOneItem(ent->Dimensions());
- iter.GetOneItem(ent->ConversionFactor());
+ iter.GetOneItem(ent->ConversionFactor());
}
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx
index 5067bd6d45..2902235d47 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx
@@ -20,7 +20,6 @@
#include
#include
#include
-#include
#include
#include
@@ -29,9 +28,9 @@ RWStepBasic_RWConversionBasedUnitAndAreaUnit::RWStepBasic_RWConversionBasedUnitA
}
void RWStepBasic_RWConversionBasedUnitAndAreaUnit::ReadStep(const Handle(StepData_StepReaderData)& data,
- const Standard_Integer num0,
- Handle(Interface_Check)& ach,
- const Handle(StepBasic_ConversionBasedUnitAndAreaUnit)& ent) const
+ const Standard_Integer num0,
+ Handle(Interface_Check)& ach,
+ const Handle(StepBasic_ConversionBasedUnitAndAreaUnit)& ent) const
{
Standard_Integer num = num0;
//data->NamedForComplex("AREA_UNIT",num0,num,ach);
@@ -44,15 +43,15 @@ void RWStepBasic_RWConversionBasedUnitAndAreaUnit::ReadStep(const Handle(StepDat
data->ReadString (num,1,"name",ach,aName);
// --- field : conversionFactor ---
- Handle(StepBasic_MeasureWithUnit) aConversionFactor;
- data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
+ Handle(Standard_Transient) aConversionFactor;
+ data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
num = data->NextForComplex(num);
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
Handle(StepBasic_DimensionalExponents) aDimensions;
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
- ent->Init(aDimensions,aName,aConversionFactor);
+ ent->Init(aDimensions,aName, aConversionFactor);
}
void RWStepBasic_RWConversionBasedUnitAndAreaUnit::WriteStep(StepData_StepWriter& SW,
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx
index 432e41b9b1..5a55af67c4 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx
@@ -19,96 +19,95 @@
#include
#include
#include
-#include
#include
#include
RWStepBasic_RWConversionBasedUnitAndLengthUnit::RWStepBasic_RWConversionBasedUnitAndLengthUnit () {}
void RWStepBasic_RWConversionBasedUnitAndLengthUnit::ReadStep
- (const Handle(StepData_StepReaderData)& data,
- const Standard_Integer num0,
- Handle(Interface_Check)& ach,
- const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent) const
+ (const Handle(StepData_StepReaderData)& data,
+ const Standard_Integer num0,
+ Handle(Interface_Check)& ach,
+ const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent) const
{
- Standard_Integer num = num0;
+ Standard_Integer num = num0;
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
- if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
+ if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
- // --- field : name ---
+ // --- field : name ---
- Handle(TCollection_HAsciiString) aName;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
- data->ReadString (num,1,"name",ach,aName);
+ Handle(TCollection_HAsciiString) aName;
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
+ data->ReadString (num,1,"name",ach,aName);
- // --- field : conversionFactor ---
+ // --- field : conversionFactor ---
- Handle(StepBasic_MeasureWithUnit) aConversionFactor;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
- data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
+ Handle(Standard_Transient) aConversionFactor;
+ data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
- num = data->NextForComplex(num);
+ num = data->NextForComplex(num);
- // --- Instance of plex componant LengthUnit ---
+ // --- Instance of plex component LengthUnit ---
- if (!data->CheckNbParams(num,0,ach,"length_unit")) return;
+ if (!data->CheckNbParams(num,0,ach,"length_unit")) return;
- num = data->NextForComplex(num);
+ num = data->NextForComplex(num);
- // --- Instance of common supertype NamedUnit ---
+ // --- Instance of common supertype NamedUnit ---
- if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
- // --- field : dimensions ---
+ if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
+ // --- field : dimensions ---
- Handle(StepBasic_DimensionalExponents) aDimensions;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
- data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
+ Handle(StepBasic_DimensionalExponents) aDimensions;
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
+ data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
- //--- Initialisation of the red entity ---
+ //--- Initialisation of the red entity ---
- ent->Init(aDimensions,aName,aConversionFactor);
+ ent->Init(aDimensions,aName,aConversionFactor);
}
void RWStepBasic_RWConversionBasedUnitAndLengthUnit::WriteStep
- (StepData_StepWriter& SW,
- const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent) const
+ (StepData_StepWriter& SW,
+ const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
- SW.StartEntity("CONVERSION_BASED_UNIT");
- // --- field : name ---
+ SW.StartEntity("CONVERSION_BASED_UNIT");
+ // --- field : name ---
- SW.Send(ent->Name());
- // --- field : conversionFactor ---
+ SW.Send(ent->Name());
+ // --- field : conversionFactor ---
- SW.Send(ent->ConversionFactor());
+ SW.Send(ent->ConversionFactor());
- // --- Instance of plex componant LengthUnit ---
+ // --- Instance of plex component LengthUnit ---
- SW.StartEntity("LENGTH_UNIT");
+ SW.StartEntity("LENGTH_UNIT");
- // --- Instance of common supertype NamedUnit ---
+ // --- Instance of common supertype NamedUnit ---
- SW.StartEntity("NAMED_UNIT");
- // --- field : dimensions ---
+ SW.StartEntity("NAMED_UNIT");
+ // --- field : dimensions ---
- SW.Send(ent->Dimensions());
+ SW.Send(ent->Dimensions());
}
void RWStepBasic_RWConversionBasedUnitAndLengthUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent, Interface_EntityIterator& iter) const
{
- iter.GetOneItem(ent->Dimensions());
+ iter.GetOneItem(ent->Dimensions());
- iter.GetOneItem(ent->ConversionFactor());
+ iter.GetOneItem(ent->ConversionFactor());
}
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx
index 7fed805df6..76838e59dc 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx
@@ -19,7 +19,6 @@
#include
#include
#include
-#include
#include
#include
@@ -38,10 +37,10 @@ RWStepBasic_RWConversionBasedUnitAndMassUnit::RWStepBasic_RWConversionBasedUnitA
//=======================================================================
void RWStepBasic_RWConversionBasedUnitAndMassUnit::ReadStep
- (const Handle(StepData_StepReaderData)& data,
- const Standard_Integer num0,
- Handle(Interface_Check)& ach,
- const Handle(StepBasic_ConversionBasedUnitAndMassUnit)& ent) const
+ (const Handle(StepData_StepReaderData)& data,
+ const Standard_Integer num0,
+ Handle(Interface_Check)& ach,
+ const Handle(StepBasic_ConversionBasedUnitAndMassUnit)& ent) const
{
Standard_Integer num = num0;
@@ -53,9 +52,9 @@ void RWStepBasic_RWConversionBasedUnitAndMassUnit::ReadStep
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
data->ReadString (num,1,"name",ach,aName);
// --- field : conversionFactor ---
- Handle(StepBasic_MeasureWithUnit) aConversionFactor;
//szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
- data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
+ Handle(Standard_Transient) aConversionFactor;
+ data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
num = data->NextForComplex(num);
@@ -72,7 +71,7 @@ void RWStepBasic_RWConversionBasedUnitAndMassUnit::ReadStep
data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
//--- Initialisation of the red entity ---
- ent->Init(aDimensions,aName,aConversionFactor);
+ ent->Init(aDimensions,aName, aConversionFactor);
}
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx
index 1647342ffc..8e86ffd01c 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx
@@ -19,7 +19,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -27,71 +26,72 @@
RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit () {}
void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::ReadStep
- (const Handle(StepData_StepReaderData)& data,
- const Standard_Integer num0,
- Handle(Interface_Check)& ach,
- const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent) const
+ (const Handle(StepData_StepReaderData)& data,
+ const Standard_Integer num0,
+ Handle(Interface_Check)& ach,
+ const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent) const
{
// sln 09.10.2001. BUC61003. Correction of looking for items of complex entity in case of them do not saticfy to alphabetical order
// CONVERSION_BASED_UNIT
- Standard_Integer num = 0;//num0;
- data->NamedForComplex("CONVERSION_BASED_UNIT", "CNBSUN",num0,num,ach);
- if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
- Handle(TCollection_HAsciiString) aName;
- data->ReadString (num,1,"name",ach,aName);
- Handle(StepBasic_MeasureWithUnit) aConversionFactor;
- data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
-
- // NAMED_UNIT
- //num = 0; //gka TRJ9 c2-id-214.stp
- data->NamedForComplex("NAMED_UNIT", "NMDUNT",num0,num,ach);
- if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
- Handle(StepBasic_DimensionalExponents) aDimensions;
- data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
+ Standard_Integer num = 0;//num0;
+ data->NamedForComplex("CONVERSION_BASED_UNIT", "CNBSUN",num0,num,ach);
+ if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
+ Handle(TCollection_HAsciiString) aName;
+ data->ReadString (num,1,"name",ach,aName);
- // PLANE_ANGLE_UNIT
- //num = 0; //gka
- data->NamedForComplex("PLANE_ANGLE_UNIT", "PLANUN",num0,num,ach);
- if (!data->CheckNbParams(num,0,ach,"plane_angle_unit")) return;
-
- ent->Init(aDimensions,aName,aConversionFactor);
+ Handle(Standard_Transient) aConversionFactor;
+ data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
+
+ // NAMED_UNIT
+ //num = 0; //gka TRJ9 c2-id-214.stp
+ data->NamedForComplex("NAMED_UNIT", "NMDUNT",num0,num,ach);
+ if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
+ Handle(StepBasic_DimensionalExponents) aDimensions;
+ data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
+
+ // PLANE_ANGLE_UNIT
+ //num = 0; //gka
+ data->NamedForComplex("PLANE_ANGLE_UNIT", "PLANUN",num0,num,ach);
+ if (!data->CheckNbParams(num,0,ach,"plane_angle_unit")) return;
+
+ ent->Init(aDimensions,aName,aConversionFactor);
}
void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::WriteStep
- (StepData_StepWriter& SW,
- const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent) const
+ (StepData_StepWriter& SW,
+ const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
- SW.StartEntity("CONVERSION_BASED_UNIT");
- // --- field : name ---
+ SW.StartEntity("CONVERSION_BASED_UNIT");
+ // --- field : name ---
- SW.Send(ent->Name());
- // --- field : conversionFactor ---
+ SW.Send(ent->Name());
+ // --- field : conversionFactor ---
- SW.Send(ent->ConversionFactor());
+ SW.Send(ent->ConversionFactor());
- // --- Instance of common supertype NamedUnit ---
+ // --- Instance of common supertype NamedUnit ---
- SW.StartEntity("NAMED_UNIT");
- // --- field : dimensions ---
+ SW.StartEntity("NAMED_UNIT");
+ // --- field : dimensions ---
- SW.Send(ent->Dimensions());
+ SW.Send(ent->Dimensions());
- // --- Instance of plex componant PlaneAngleUnit ---
+ // --- Instance of plex component PlaneAngleUnit ---
- SW.StartEntity("PLANE_ANGLE_UNIT");
+ SW.StartEntity("PLANE_ANGLE_UNIT");
}
void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent, Interface_EntityIterator& iter) const
{
- iter.GetOneItem(ent->Dimensions());
+ iter.GetOneItem(ent->Dimensions());
- iter.GetOneItem(ent->ConversionFactor());
+ iter.GetOneItem(ent->ConversionFactor());
}
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx
index 563b3f66b6..90fc7ae602 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -26,89 +25,89 @@
RWStepBasic_RWConversionBasedUnitAndRatioUnit::RWStepBasic_RWConversionBasedUnitAndRatioUnit () {}
void RWStepBasic_RWConversionBasedUnitAndRatioUnit::ReadStep
- (const Handle(StepData_StepReaderData)& data,
- const Standard_Integer num0,
- Handle(Interface_Check)& ach,
- const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent) const
+ (const Handle(StepData_StepReaderData)& data,
+ const Standard_Integer num0,
+ Handle(Interface_Check)& ach,
+ const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent) const
{
- Standard_Integer num = num0;
+ Standard_Integer num = num0;
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
- if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
+ if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
- // --- field : name ---
+ // --- field : name ---
- Handle(TCollection_HAsciiString) aName;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
- data->ReadString (num,1,"name",ach,aName);
+ Handle(TCollection_HAsciiString) aName;
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
+ data->ReadString (num,1,"name",ach,aName);
- // --- field : conversionFactor ---
+ // --- field : conversionFactor ---
- Handle(StepBasic_MeasureWithUnit) aConversionFactor;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
- data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
+ Handle(Standard_Transient) aConversionFactor;
+ data->ReadEntity(num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
- num = data->NextForComplex(num);
+ num = data->NextForComplex(num);
- // --- Instance of common supertype NamedUnit ---
+ // --- Instance of common supertype NamedUnit ---
- if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
+ if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
- // --- field : dimensions ---
+ // --- field : dimensions ---
- Handle(StepBasic_DimensionalExponents) aDimensions;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
- data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
+ Handle(StepBasic_DimensionalExponents) aDimensions;
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
+ data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
- num = data->NextForComplex(num);
+ num = data->NextForComplex(num);
- // --- Instance of plex componant RatioUnit ---
+ // --- Instance of plex component RatioUnit ---
- if (!data->CheckNbParams(num,0,ach,"ratio_unit")) return;
+ if (!data->CheckNbParams(num,0,ach,"ratio_unit")) return;
- //--- Initialisation of the red entity ---
+ //--- Initialisation of the red entity ---
- ent->Init(aDimensions,aName,aConversionFactor);
+ ent->Init(aDimensions,aName, aConversionFactor);
}
void RWStepBasic_RWConversionBasedUnitAndRatioUnit::WriteStep
- (StepData_StepWriter& SW,
- const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent) const
+ (StepData_StepWriter& SW,
+ const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
- SW.StartEntity("CONVERSION_BASED_UNIT");
- // --- field : name ---
+ SW.StartEntity("CONVERSION_BASED_UNIT");
+ // --- field : name ---
- SW.Send(ent->Name());
- // --- field : conversionFactor ---
+ SW.Send(ent->Name());
+ // --- field : conversionFactor ---
- SW.Send(ent->ConversionFactor());
+ SW.Send(ent->ConversionFactor());
- // --- Instance of plex componant RatioUnit ---
+ // --- Instance of plex component RatioUnit ---
- SW.StartEntity("RATIO_UNIT");
+ SW.StartEntity("RATIO_UNIT");
- // --- Instance of common supertype NamedUnit ---
+ // --- Instance of common supertype NamedUnit ---
- SW.StartEntity("NAMED_UNIT");
- // --- field : dimensions ---
+ SW.StartEntity("NAMED_UNIT");
+ // --- field : dimensions ---
- SW.Send(ent->Dimensions());
+ SW.Send(ent->Dimensions());
}
void RWStepBasic_RWConversionBasedUnitAndRatioUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent, Interface_EntityIterator& iter) const
{
- iter.GetOneItem(ent->Dimensions());
+ iter.GetOneItem(ent->Dimensions());
- iter.GetOneItem(ent->ConversionFactor());
+ iter.GetOneItem(ent->ConversionFactor());
}
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx
index 0dbb26656e..ed7c529189 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -26,89 +25,89 @@
RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit () {}
void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::ReadStep
- (const Handle(StepData_StepReaderData)& data,
- const Standard_Integer num0,
- Handle(Interface_Check)& ach,
- const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent) const
+ (const Handle(StepData_StepReaderData)& data,
+ const Standard_Integer num0,
+ Handle(Interface_Check)& ach,
+ const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent) const
{
- Standard_Integer num = num0;
+ Standard_Integer num = num0;
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
- if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
+ if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
- // --- field : name ---
+ // --- field : name ---
- Handle(TCollection_HAsciiString) aName;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
- data->ReadString (num,1,"name",ach,aName);
+ Handle(TCollection_HAsciiString) aName;
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
+ data->ReadString (num,1,"name",ach,aName);
- // --- field : conversionFactor ---
+ // --- field : conversionFactor ---
- Handle(StepBasic_MeasureWithUnit) aConversionFactor;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
- data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
+ Handle(Standard_Transient) aConversionFactor;
+ data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
- num = data->NextForComplex(num);
+ num = data->NextForComplex(num);
- // --- Instance of common supertype NamedUnit ---
+ // --- Instance of common supertype NamedUnit ---
- if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
- // --- field : dimensions ---
+ if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
+ // --- field : dimensions ---
- Handle(StepBasic_DimensionalExponents) aDimensions;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
- data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
+ Handle(StepBasic_DimensionalExponents) aDimensions;
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
+ data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
- num = data->NextForComplex(num);
+ num = data->NextForComplex(num);
- // --- Instance of plex componant SolidAngleUnit ---
+ // --- Instance of plex component SolidAngleUnit ---
- if (!data->CheckNbParams(num,0,ach,"solid_angle_unit")) return;
+ if (!data->CheckNbParams(num,0,ach,"solid_angle_unit")) return;
- //--- Initialisation of the red entity ---
+ //--- Initialisation of the red entity ---
- ent->Init(aDimensions,aName,aConversionFactor);
+ ent->Init(aDimensions,aName,aConversionFactor);
}
void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::WriteStep
- (StepData_StepWriter& SW,
- const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent) const
+ (StepData_StepWriter& SW,
+ const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
- SW.StartEntity("CONVERSION_BASED_UNIT");
- // --- field : name ---
+ SW.StartEntity("CONVERSION_BASED_UNIT");
+ // --- field : name ---
- SW.Send(ent->Name());
- // --- field : conversionFactor ---
+ SW.Send(ent->Name());
+ // --- field : conversionFactor ---
- SW.Send(ent->ConversionFactor());
+ SW.Send(ent->ConversionFactor());
- // --- Instance of common supertype NamedUnit ---
+ // --- Instance of common supertype NamedUnit ---
- SW.StartEntity("NAMED_UNIT");
- // --- field : dimensions ---
+ SW.StartEntity("NAMED_UNIT");
+ // --- field : dimensions ---
- SW.Send(ent->Dimensions());
+ SW.Send(ent->Dimensions());
- // --- Instance of plex componant SolidAngleUnit ---
+ // --- Instance of plex component SolidAngleUnit ---
- SW.StartEntity("SOLID_ANGLE_UNIT");
+ SW.StartEntity("SOLID_ANGLE_UNIT");
}
void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent, Interface_EntityIterator& iter) const
{
- iter.GetOneItem(ent->Dimensions());
+ iter.GetOneItem(ent->Dimensions());
- iter.GetOneItem(ent->ConversionFactor());
+ iter.GetOneItem(ent->ConversionFactor());
}
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx
index c7dd2d5c2e..dea8e2a637 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -26,89 +25,88 @@
RWStepBasic_RWConversionBasedUnitAndTimeUnit::RWStepBasic_RWConversionBasedUnitAndTimeUnit () {}
void RWStepBasic_RWConversionBasedUnitAndTimeUnit::ReadStep
- (const Handle(StepData_StepReaderData)& data,
- const Standard_Integer num0,
- Handle(Interface_Check)& ach,
- const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent) const
+ (const Handle(StepData_StepReaderData)& data,
+ const Standard_Integer num0,
+ Handle(Interface_Check)& ach,
+ const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent) const
{
- Standard_Integer num = num0;
+ Standard_Integer num = num0;
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
- if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
+ if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
- // --- field : name ---
+ // --- field : name ---
- Handle(TCollection_HAsciiString) aName;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
- data->ReadString (num,1,"name",ach,aName);
+ Handle(TCollection_HAsciiString) aName;
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
+ data->ReadString (num,1,"name",ach,aName);
- // --- field : conversionFactor ---
+ // --- field : conversionFactor ---
- Handle(StepBasic_MeasureWithUnit) aConversionFactor;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
- data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat2 =` not needed
+ Handle(Standard_Transient) aConversionFactor;
+ data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
- num = data->NextForComplex(num);
+ num = data->NextForComplex(num);
- // --- Instance of common supertype NamedUnit ---
+ // --- Instance of common supertype NamedUnit ---
- if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
- // --- field : dimensions ---
+ if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
+ // --- field : dimensions ---
- Handle(StepBasic_DimensionalExponents) aDimensions;
- //szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
- data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
+ Handle(StepBasic_DimensionalExponents) aDimensions;
+ //szv#4:S4163:12Mar99 `Standard_Boolean stat3 =` not needed
+ data->ReadEntity(num, 1,"dimensions", ach, STANDARD_TYPE(StepBasic_DimensionalExponents), aDimensions);
- num = data->NextForComplex(num);
+ num = data->NextForComplex(num);
- // --- Instance of plex componant TimeUnit ---
+ // --- Instance of plex component TimeUnit ---
- if (!data->CheckNbParams(num,0,ach,"time_unit")) return;
+ if (!data->CheckNbParams(num,0,ach,"time_unit")) return;
- //--- Initialisation of the red entity ---
+ //--- Initialisation of the red entity ---
- ent->Init(aDimensions,aName,aConversionFactor);
+ ent->Init(aDimensions,aName, aConversionFactor);
}
-void RWStepBasic_RWConversionBasedUnitAndTimeUnit::WriteStep
- (StepData_StepWriter& SW,
- const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent) const
+void RWStepBasic_RWConversionBasedUnitAndTimeUnit::WriteStep(StepData_StepWriter& SW,
+ const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
- SW.StartEntity("CONVERSION_BASED_UNIT");
- // --- field : name ---
+ SW.StartEntity("CONVERSION_BASED_UNIT");
+ // --- field : name ---
- SW.Send(ent->Name());
- // --- field : conversionFactor ---
+ SW.Send(ent->Name());
+ // --- field : conversionFactor ---
- SW.Send(ent->ConversionFactor());
+ SW.Send(ent->ConversionFactor());
- // --- Instance of plex componant TimeUnit ---
+ // --- Instance of plex component TimeUnit ---
- SW.StartEntity("TIME_UNIT");
+ SW.StartEntity("TIME_UNIT");
- // --- Instance of common supertype NamedUnit ---
+ // --- Instance of common supertype NamedUnit ---
- SW.StartEntity("NAMED_UNIT");
- // --- field : dimensions ---
+ SW.StartEntity("NAMED_UNIT");
+ // --- field : dimensions ---
- SW.Send(ent->Dimensions());
+ SW.Send(ent->Dimensions());
}
void RWStepBasic_RWConversionBasedUnitAndTimeUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent, Interface_EntityIterator& iter) const
{
- iter.GetOneItem(ent->Dimensions());
+ iter.GetOneItem(ent->Dimensions());
- iter.GetOneItem(ent->ConversionFactor());
+ iter.GetOneItem(ent->ConversionFactor());
}
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx
index 373b5076ff..ed168edcc5 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx
@@ -20,7 +20,6 @@
#include
#include
#include
-#include
#include
#include
@@ -29,9 +28,9 @@ RWStepBasic_RWConversionBasedUnitAndVolumeUnit::RWStepBasic_RWConversionBasedUni
}
void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::ReadStep(const Handle(StepData_StepReaderData)& data,
- const Standard_Integer num0,
- Handle(Interface_Check)& ach,
- const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent) const
+ const Standard_Integer num0,
+ Handle(Interface_Check)& ach,
+ const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent) const
{
Standard_Integer num = num0;
// --- Instance of plex componant ConversionBasedUnit ---
@@ -40,8 +39,8 @@ void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::ReadStep(const Handle(StepD
data->ReadString (num,1,"name",ach,aName);
// --- field : conversionFactor ---
- Handle(StepBasic_MeasureWithUnit) aConversionFactor;
- data->ReadEntity(num, 2,"conversion_factor", ach, STANDARD_TYPE(StepBasic_MeasureWithUnit), aConversionFactor);
+ Handle(Standard_Transient) aConversionFactor;
+ data->ReadEntity (num, 2, "conversion_factor", ach, STANDARD_TYPE(Standard_Transient), aConversionFactor);
num = data->NextForComplex(num);
if (!data->CheckNbParams(num,1,ach,"named_unit")) return;
@@ -51,11 +50,11 @@ void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::ReadStep(const Handle(StepD
data->NamedForComplex("VOLUME_UNIT","VLMUNT",num0,num,ach);
if (!data->CheckNbParams(num,0,ach,"volume_unit")) return;
- ent->Init(aDimensions,aName,aConversionFactor);
+ ent->Init(aDimensions,aName, aConversionFactor);
}
void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::WriteStep(StepData_StepWriter& SW,
- const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent) const
+ const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent) const
{
SW.StartEntity("CONVERSION_BASED_UNIT");
SW.Send(ent->Name());
@@ -66,7 +65,7 @@ void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::WriteStep(StepData_StepWrit
}
void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::Share(const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent,
- Interface_EntityIterator& iter) const
+ Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->Dimensions());
iter.GetOneItem(ent->ConversionFactor());
diff --git a/src/RWStepDimTol/RWStepDimTol_RWAngularityTolerance.cxx b/src/RWStepDimTol/RWStepDimTol_RWAngularityTolerance.cxx
index 2870df358c..33bbfff197 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWAngularityTolerance.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWAngularityTolerance.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -55,8 +54,8 @@ void RWStepDimTol_RWAngularityTolerance::ReadStep (const Handle(StepData_StepRea
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
@@ -79,7 +78,7 @@ void RWStepDimTol_RWAngularityTolerance::ReadStep (const Handle(StepData_StepRea
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
diff --git a/src/RWStepDimTol/RWStepDimTol_RWCircularRunoutTolerance.cxx b/src/RWStepDimTol/RWStepDimTol_RWCircularRunoutTolerance.cxx
index 03da230b71..a56166440f 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWCircularRunoutTolerance.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWCircularRunoutTolerance.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -55,8 +54,8 @@ void RWStepDimTol_RWCircularRunoutTolerance::ReadStep (const Handle(StepData_Ste
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
@@ -79,7 +78,7 @@ void RWStepDimTol_RWCircularRunoutTolerance::ReadStep (const Handle(StepData_Ste
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
diff --git a/src/RWStepDimTol/RWStepDimTol_RWCoaxialityTolerance.cxx b/src/RWStepDimTol/RWStepDimTol_RWCoaxialityTolerance.cxx
index d8d0c09df4..83e9abc127 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWCoaxialityTolerance.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWCoaxialityTolerance.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -55,8 +54,8 @@ void RWStepDimTol_RWCoaxialityTolerance::ReadStep (const Handle(StepData_StepRea
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
@@ -79,7 +78,7 @@ void RWStepDimTol_RWCoaxialityTolerance::ReadStep (const Handle(StepData_StepRea
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
diff --git a/src/RWStepDimTol/RWStepDimTol_RWConcentricityTolerance.cxx b/src/RWStepDimTol/RWStepDimTol_RWConcentricityTolerance.cxx
index 63405520eb..3dbe4b7aae 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWConcentricityTolerance.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWConcentricityTolerance.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -55,8 +54,8 @@ void RWStepDimTol_RWConcentricityTolerance::ReadStep (const Handle(StepData_Step
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
@@ -79,7 +78,7 @@ void RWStepDimTol_RWConcentricityTolerance::ReadStep (const Handle(StepData_Step
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aGeometricToleranceWithDatumReference_DatumSystem);
}
diff --git a/src/RWStepDimTol/RWStepDimTol_RWCylindricityTolerance.cxx b/src/RWStepDimTol/RWStepDimTol_RWCylindricityTolerance.cxx
index b0b60f0c13..e4a9084544 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWCylindricityTolerance.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWCylindricityTolerance.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -53,8 +52,8 @@ void RWStepDimTol_RWCylindricityTolerance::ReadStep (const Handle(StepData_StepR
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
@@ -62,7 +61,7 @@ void RWStepDimTol_RWCylindricityTolerance::ReadStep (const Handle(StepData_StepR
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect);
}
diff --git a/src/RWStepDimTol/RWStepDimTol_RWFlatnessTolerance.cxx b/src/RWStepDimTol/RWStepDimTol_RWFlatnessTolerance.cxx
index e63396e512..5a2f82637b 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWFlatnessTolerance.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWFlatnessTolerance.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -36,7 +35,6 @@ RWStepDimTol_RWFlatnessTolerance::RWStepDimTol_RWFlatnessTolerance ()
//function : ReadStep
//purpose :
//=======================================================================
-
void RWStepDimTol_RWFlatnessTolerance::ReadStep (const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
@@ -53,8 +51,8 @@ void RWStepDimTol_RWFlatnessTolerance::ReadStep (const Handle(StepData_StepReade
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
@@ -62,7 +60,7 @@ void RWStepDimTol_RWFlatnessTolerance::ReadStep (const Handle(StepData_StepReade
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect);
}
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRef.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRef.cxx
index 02331922e2..9e10f7f8e7 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRef.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRef.cxx
@@ -17,7 +17,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -54,8 +53,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthDatRef::ReadStep
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
+
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx
index 37afafea53..1974ff1791 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -56,8 +55,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol::ReadStep
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
+
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx
index 4bb6bf7c07..f01b4fda12 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx
@@ -17,7 +17,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -55,8 +54,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod::ReadStep
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
+
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx
index 42e1d203cd..1b1d844f4d 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx
@@ -15,7 +15,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -53,8 +52,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol::ReadStep
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
+
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx
index 32dbc1dd1c..adc89bf75c 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx
@@ -56,8 +56,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol::ReadStep
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
+
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol.cxx
index 656730c426..41b37ba066 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -53,8 +52,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol::ReadStep
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
+
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMod.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMod.cxx
index 93ee607538..caf8994617 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMod.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMod.cxx
@@ -17,7 +17,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -52,8 +51,10 @@ void RWStepDimTol_RWGeoTolAndGeoTolWthMod::ReadStep
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
+
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeometricTolerance.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeometricTolerance.cxx
index fad6ebec33..10241521ab 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeometricTolerance.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeometricTolerance.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -53,8 +52,8 @@ void RWStepDimTol_RWGeometricTolerance::ReadStep (const Handle(StepData_StepRead
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDatumReference.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDatumReference.cxx
index 58db603caf..a83fe1df59 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDatumReference.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDatumReference.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -55,8 +54,8 @@ void RWStepDimTol_RWGeometricToleranceWithDatumReference::ReadStep (const Handle
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aGeometricTolerance_TolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aGeometricTolerance_TolerancedShapeAspect);
@@ -79,7 +78,7 @@ void RWStepDimTol_RWGeometricToleranceWithDatumReference::ReadStep (const Handle
// Initialize entity
ent->Init(aGeometricTolerance_Name,
aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
+ aMagnitude,
aGeometricTolerance_TolerancedShapeAspect,
aDatumSystem);
}
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit.cxx
index 6bddf6e6ff..621286d382 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -56,8 +55,8 @@ void 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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedUnit.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedUnit.cxx
index ac88511be4..f549e1a518 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedUnit.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedUnit.cxx
@@ -17,7 +17,6 @@
#include
#include
-#include
#include
#include
#include
@@ -53,8 +52,8 @@ void RWStepDimTol_RWGeometricToleranceWithDefinedUnit::ReadStep (const Handle(St
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithMaximumTolerance.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithMaximumTolerance.cxx
index f597d25211..7c4a20350a 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithMaximumTolerance.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithMaximumTolerance.cxx
@@ -24,7 +24,6 @@
#include
#include
#include
-#include
//=======================================================================
//function : RWStepDimTol_RWGeometricTolerance
@@ -57,8 +56,8 @@ void RWStepDimTol_RWGeometricToleranceWithMaximumTolerance::
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithModifiers.cxx b/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithModifiers.cxx
index ea23bbbcbf..ef90d4be84 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithModifiers.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithModifiers.cxx
@@ -17,7 +17,6 @@
#include
#include
-#include
#include
#include
#include
@@ -56,8 +55,8 @@ void RWStepDimTol_RWGeometricToleranceWithModifiers::
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;
+ data->ReadEntity (num, 3, "magnitude", ach, STANDARD_TYPE(Standard_Transient), aMagnitude);
StepDimTol_GeometricToleranceTarget aTolerancedShapeAspect;
data->ReadEntity (num, 4, "geometric_tolerance.toleranced_shape_aspect", ach, aTolerancedShapeAspect);
diff --git a/src/RWStepDimTol/RWStepDimTol_RWLineProfileTolerance.cxx b/src/RWStepDimTol/RWStepDimTol_RWLineProfileTolerance.cxx
index 5566474009..c6f9af7832 100644
--- a/src/RWStepDimTol/RWStepDimTol_RWLineProfileTolerance.cxx
+++ b/src/RWStepDimTol/RWStepDimTol_RWLineProfileTolerance.cxx
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
#include
#include
#include