]> OCCT Git - occt.git/commitdiff
0033564: Data Exchange, STEP - Making default unit parameter
authordpasukhi <dpasukhi@opencascade.com>
Thu, 4 Jan 2024 12:29:53 +0000 (12:29 +0000)
committermzernova <mzernova@opencascade.com>
Mon, 3 Mar 2025 12:11:28 +0000 (12:11 +0000)
Updated signature for step makers with units
  to have default unit as a mm (no scaling)

63 files changed:
src/GeomToStep/GeomToStep_MakeAxis1Placement.hxx
src/GeomToStep/GeomToStep_MakeAxis2Placement2d.hxx
src/GeomToStep/GeomToStep_MakeAxis2Placement3d.hxx
src/GeomToStep/GeomToStep_MakeBSplineCurveWithKnots.hxx
src/GeomToStep/GeomToStep_MakeBSplineCurveWithKnotsAndRationalBSplineCurve.hxx
src/GeomToStep/GeomToStep_MakeBSplineSurfaceWithKnots.hxx
src/GeomToStep/GeomToStep_MakeBSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx
src/GeomToStep/GeomToStep_MakeBoundedCurve.hxx
src/GeomToStep/GeomToStep_MakeBoundedSurface.hxx
src/GeomToStep/GeomToStep_MakeCircle.hxx
src/GeomToStep/GeomToStep_MakeConic.hxx
src/GeomToStep/GeomToStep_MakeConicalSurface.hxx
src/GeomToStep/GeomToStep_MakeCurve.hxx
src/GeomToStep/GeomToStep_MakeCylindricalSurface.hxx
src/GeomToStep/GeomToStep_MakeElementarySurface.hxx
src/GeomToStep/GeomToStep_MakeEllipse.hxx
src/GeomToStep/GeomToStep_MakeHyperbola.hxx
src/GeomToStep/GeomToStep_MakeLine.hxx
src/GeomToStep/GeomToStep_MakeParabola.hxx
src/GeomToStep/GeomToStep_MakePlane.hxx
src/GeomToStep/GeomToStep_MakePolyline.hxx
src/GeomToStep/GeomToStep_MakeRectangularTrimmedSurface.hxx
src/GeomToStep/GeomToStep_MakeSphericalSurface.hxx
src/GeomToStep/GeomToStep_MakeSurface.hxx
src/GeomToStep/GeomToStep_MakeSurfaceOfLinearExtrusion.hxx
src/GeomToStep/GeomToStep_MakeSurfaceOfRevolution.hxx
src/GeomToStep/GeomToStep_MakeSweptSurface.hxx
src/GeomToStep/GeomToStep_MakeToroidalSurface.hxx
src/GeomToStep/GeomToStep_MakeVector.hxx
src/GeomToStep/GeomToStep_Root.hxx
src/STEPCAFControl/STEPCAFControl_Reader.hxx
src/STEPCAFControl/STEPCAFControl_Writer.hxx
src/STEPConstruct/STEPConstruct_UnitContext.hxx
src/STEPConstruct/STEPConstruct_ValidationProps.hxx
src/STEPControl/STEPControl_ActorRead.cxx
src/STEPControl/STEPControl_ActorRead.hxx
src/STEPControl/STEPControl_ActorWrite.hxx
src/StepToGeom/StepToGeom.hxx
src/StepToTopoDS/StepToTopoDS_Builder.cxx
src/StepToTopoDS/StepToTopoDS_Builder.hxx
src/StepToTopoDS/StepToTopoDS_MakeTransformed.hxx
src/StepToTopoDS/StepToTopoDS_TranslateCompositeCurve.hxx
src/StepToTopoDS/StepToTopoDS_TranslateCurveBoundedSurface.hxx
src/StepToTopoDS/StepToTopoDS_TranslateEdge.hxx
src/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.hxx
src/StepToTopoDS/StepToTopoDS_TranslateFace.hxx
src/StepToTopoDS/StepToTopoDS_TranslatePolyLoop.hxx
src/StepToTopoDS/StepToTopoDS_TranslateShell.hxx
src/StepToTopoDS/StepToTopoDS_TranslateSolid.hxx
src/StepToTopoDS/StepToTopoDS_TranslateVertex.hxx
src/StepToTopoDS/StepToTopoDS_TranslateVertexLoop.hxx
src/TopoDSToStep/TopoDSToStep_Builder.hxx
src/TopoDSToStep/TopoDSToStep_MakeBrepWithVoids.hxx
src/TopoDSToStep/TopoDSToStep_MakeFacetedBrep.hxx
src/TopoDSToStep/TopoDSToStep_MakeFacetedBrepAndBrepWithVoids.hxx
src/TopoDSToStep/TopoDSToStep_MakeGeometricCurveSet.hxx
src/TopoDSToStep/TopoDSToStep_MakeManifoldSolidBrep.hxx
src/TopoDSToStep/TopoDSToStep_MakeShellBasedSurfaceModel.hxx
src/TopoDSToStep/TopoDSToStep_MakeStepEdge.hxx
src/TopoDSToStep/TopoDSToStep_MakeStepFace.hxx
src/TopoDSToStep/TopoDSToStep_MakeStepVertex.hxx
src/TopoDSToStep/TopoDSToStep_MakeStepWire.hxx
src/TopoDSToStep/TopoDSToStep_WireframeBuilder.hxx

index 4e3baad9da2d834b8d39e2e3dff84c6d097851bb..2c7a5927605ced42dd0a76ab856133bba93f2d37 100644 (file)
 #include <Standard.hxx>
 #include <Standard_DefineAlloc.hxx>
 #include <Standard_Handle.hxx>
+#include <StepData_Factors.hxx>
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_Axis1Placement;
 class gp_Ax1;
 class gp_Ax2d;
@@ -43,16 +43,16 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeAxis1Placement(const gp_Ax1& A,
-                                                const StepData_Factors& theLocalFactors);
+                                                const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeAxis1Placement(const gp_Ax2d& A,
-                                                const StepData_Factors& theLocalFactors);
+                                                const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeAxis1Placement(const Handle(Geom_Axis1Placement)& A,
-                                                const StepData_Factors& theLocalFactors);
+                                                const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeAxis1Placement(const Handle(Geom2d_AxisPlacement)& A,
-                                                const StepData_Factors& theLocalFactors);
+                                                const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Axis1Placement)& Value() const;
 
index e2ceb4c5d3ceb4a1ef3ec873e36ecec1de284f1a..e8adea3199afba10d0bf8e941c2084d79af20fcd 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_Axis2Placement2d;
 class gp_Ax2;
 class gp_Ax22d;
@@ -41,10 +40,10 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeAxis2Placement2d(const gp_Ax2& A,
-                                                  const StepData_Factors& theLocalFactors);
+                                                  const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeAxis2Placement2d(const gp_Ax22d& A,
-                                                  const StepData_Factors& theLocalFactors);
+                                                  const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Axis2Placement2d)& Value() const;
 
index b11e8221297ac7f02bf1d5e799ed54e78cdbfccb..2047a9d2d4b088cefd30bc46ac9f6b1ff41569b7 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 #include <StepData_StepModel.hxx>
-class StepData_Factors;
 class StepGeom_Axis2Placement3d;
 class gp_Ax2;
 class gp_Ax3;
@@ -42,19 +41,19 @@ public:
   DEFINE_STANDARD_ALLOC
 
   
-  Standard_EXPORT GeomToStep_MakeAxis2Placement3d(const StepData_Factors& theLocalFactors);
+  Standard_EXPORT GeomToStep_MakeAxis2Placement3d(const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeAxis2Placement3d(const gp_Ax2& A,
-                                                  const StepData_Factors& theLocalFactors);
+                                                  const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeAxis2Placement3d(const gp_Ax3& A,
-                                                  const StepData_Factors& theLocalFactors);
+                                                  const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeAxis2Placement3d(const gp_Trsf& T,
-                                                  const StepData_Factors& theLocalFactors);
+                                                  const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeAxis2Placement3d(const Handle(Geom_Axis2Placement)& A,
-                                                  const StepData_Factors& theLocalFactors);
+                                                  const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Axis2Placement3d)& Value() const;
 
index ea7f140874b769120dad24b93c731f846f3c2292..785e617da024de7c460983ff885ee79d225efca6 100644 (file)
@@ -24,7 +24,6 @@
 #include <GeomToStep_Root.hxx>
 class Geom_BSplineCurve;
 class Geom2d_BSplineCurve;
-class StepData_Factors;
 class StepGeom_BSplineCurveWithKnots;
 
 
@@ -41,10 +40,10 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeBSplineCurveWithKnots(const Handle(Geom_BSplineCurve)& Bsplin,
-                                                       const StepData_Factors& theLocalFactors);
+                                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeBSplineCurveWithKnots(const Handle(Geom2d_BSplineCurve)& Bsplin,
-                                                       const StepData_Factors& theLocalFactors);
+                                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_BSplineCurveWithKnots)& Value() const;
 
index 9adf01acae61231bacbff3d7ae3fde9c75e8589a..5baab742856c190e935e94bff94977e05c2b985d 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve;
 class Geom_BSplineCurve;
 class Geom2d_BSplineCurve;
@@ -42,10 +41,10 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeBSplineCurveWithKnotsAndRationalBSplineCurve(const Handle(Geom_BSplineCurve)& Bsplin,
-                                                                              const StepData_Factors& theLocalFactors);
+                                                                              const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeBSplineCurveWithKnotsAndRationalBSplineCurve(const Handle(Geom2d_BSplineCurve)& Bsplin,
-                                                                              const StepData_Factors& theLocalFactors);
+                                                                              const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve)& Value() const;
 
index 1fe271e450f87bcf90f5acfac70117dd99712e53..f30453bc5d4d080fe7a3e7ec62e9e2ff0ab9d467 100644 (file)
@@ -22,7 +22,6 @@
 #include <Standard_Handle.hxx>
 
 #include <GeomToStep_Root.hxx>
-class StepData_Factors;
 class StepGeom_BSplineSurfaceWithKnots;
 class Geom_BSplineSurface;
 
@@ -40,7 +39,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeBSplineSurfaceWithKnots(const Handle(Geom_BSplineSurface)& Bsplin,
-                                                         const StepData_Factors& theLocalFactors);
+                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_BSplineSurfaceWithKnots)& Value() const;
 
index ca714b11aedd6d8779aebe1c2f5a984f04d22171..7fc7b34884f22bcf0313ca6449a9bc1f6111ae1f 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface;
 class Geom_BSplineSurface;
 
@@ -41,7 +40,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeBSplineSurfaceWithKnotsAndRationalBSplineSurface(const Handle(Geom_BSplineSurface)& Bsplin,
-                                                                                  const StepData_Factors& theLocalFactors);
+                                                                                  const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface)& Value() const;
 
index 26c0df932719b5f2de40c7817263edfd41ad2608..190f16f056ba18273d72796f9ac81e4cd81fa5dc 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_BoundedCurve;
 class Geom_BoundedCurve;
 class Geom2d_BoundedCurve;
@@ -42,10 +41,10 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeBoundedCurve(const Handle(Geom_BoundedCurve)& C,
-                                              const StepData_Factors& theLocalFactors);
+                                              const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeBoundedCurve(const Handle(Geom2d_BoundedCurve)& C,
-                                              const StepData_Factors& theLocalFactors);
+                                              const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_BoundedCurve)& Value() const;
 
index 17df588b2f6aac42bf74255f53cbec4baf132d2b..bd061aa580be9d1ec957d2ceaeb879b53174bbe2 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_BoundedSurface;
 class Geom_BoundedSurface;
 
@@ -41,7 +40,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeBoundedSurface(const Handle(Geom_BoundedSurface)& C,
-                                                const StepData_Factors& theLocalFactors);
+                                                const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_BoundedSurface)& Value() const;
 
index abd6360f2befaee086d4a241ea5cc789c6dc7257..391e06f52dd20370344527143e916b6307962e8b 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_Circle;
 class gp_Circ;
 class Geom_Circle;
@@ -42,13 +41,13 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeCircle(const gp_Circ& C,
-                                        const StepData_Factors& theLocalFactors);
+                                        const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeCircle(const Handle(Geom_Circle)& C,
-                                        const StepData_Factors& theLocalFactors);
+                                        const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeCircle(const Handle(Geom2d_Circle)& C,
-                                        const StepData_Factors& theLocalFactors);
+                                        const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Circle)& Value() const;
 
index dfdaa13e78ffdbe9c3c96731f5add0f0076bef43..ef68a9878cca5602effe0fadefaa002d67da2bac 100644 (file)
@@ -25,7 +25,6 @@
 class StepGeom_Conic;
 class Geom_Conic;
 class Geom2d_Conic;
-class StepData_Factors;
 
 
 //! This class implements the mapping between classes
@@ -40,10 +39,10 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeConic(const Handle(Geom_Conic)& C,
-                                       const StepData_Factors& theLocalFactors);
+                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeConic(const Handle(Geom2d_Conic)& C,
-                                       const StepData_Factors& theLocalFactors);
+                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Conic)& Value() const;
 
index 31479c494a7a6b19f7bbe85e3dcb6dfbe5f29c2b..83ea3bfd0fdc8d30eee485f3597dcba378008171 100644 (file)
@@ -24,7 +24,6 @@
 #include <GeomToStep_Root.hxx>
 class StepGeom_ConicalSurface;
 class Geom_ConicalSurface;
-class StepData_Factors;
 
 
 //! This class implements the mapping between class
@@ -39,7 +38,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeConicalSurface(const Handle(Geom_ConicalSurface)& CSurf,
-                                                const StepData_Factors& theLocalFactors);
+                                                const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_ConicalSurface)& Value() const;
 
index 325143b1396ec0a26b0a787b04f8846cdc846e12..595f16c55a0c31ed47432322bcd1b623e9e40318 100644 (file)
@@ -22,7 +22,6 @@
 #include <Standard_Handle.hxx>
 
 #include <GeomToStep_Root.hxx>
-class StepData_Factors;
 class StepGeom_Curve;
 class Geom_Curve;
 class Geom2d_Curve;
@@ -40,10 +39,10 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeCurve(const Handle(Geom_Curve)& C,
-                                       const StepData_Factors& theLocalFactors);
+                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeCurve(const Handle(Geom2d_Curve)& C,
-                                       const StepData_Factors& theLocalFactors);
+                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Curve)& Value() const;
 
index 6325002b5dd1d9ff690573a4236e8f5c73effaaa..acbb9c7dffb6690de196a2282bc49f7e1f9d2869 100644 (file)
@@ -24,7 +24,6 @@
 #include <GeomToStep_Root.hxx>
 class StepGeom_CylindricalSurface;
 class Geom_CylindricalSurface;
-class StepData_Factors;
 
 
 //! This class implements the mapping between class
@@ -39,7 +38,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeCylindricalSurface(const Handle(Geom_CylindricalSurface)& CSurf,
-                                                    const StepData_Factors& theLocalFactors);
+                                                    const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_CylindricalSurface)& Value() const;
 
index 4ccdd301edfbec5dc0fe2634f177e39150c44006..af102ba7458abae745e35470e19914ba03e93ac3 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_ElementarySurface;
 class Geom_ElementarySurface;
 
@@ -41,7 +40,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeElementarySurface(const Handle(Geom_ElementarySurface)& S,
-                                                   const StepData_Factors& theLocalFactors);
+                                                   const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_ElementarySurface)& Value() const;
 
index a9b4971eb9c5055a8bd80064e3c88833b4596e0e..0f1b14858b88dae97055f627e8ca33afcc06fcbf 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_Ellipse;
 class gp_Elips;
 class Geom_Ellipse;
@@ -42,13 +41,13 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeEllipse(const gp_Elips& C,
-                                         const StepData_Factors& theLocalFactors);
+                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeEllipse(const Handle(Geom_Ellipse)& C,
-                                         const StepData_Factors& theLocalFactors);
+                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeEllipse(const Handle(Geom2d_Ellipse)& C,
-                                         const StepData_Factors& theLocalFactors);
+                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Ellipse)& Value() const;
 
index e42b4be8e46ce663b50073de6c1e10e1547f29c4..7b9912171da8dc8e2ead1a5748e43fc7c7d907db 100644 (file)
@@ -38,10 +38,10 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeHyperbola(const Handle(Geom2d_Hyperbola)& C,
-                                           const StepData_Factors& theLocalFactors);
+                                           const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeHyperbola(const Handle(Geom_Hyperbola)& C,
-                                           const StepData_Factors& theLocalFactors);
+                                           const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Hyperbola)& Value() const;
 
index d7e6991351b15784d7150b9358ef6718e1c620ed..d871cd55b66de8e302f0636c46d26d940833530b 100644 (file)
@@ -22,7 +22,6 @@
 #include <Standard_Handle.hxx>
 
 #include <GeomToStep_Root.hxx>
-class StepData_Factors;
 class StepGeom_Line;
 class gp_Lin;
 class gp_Lin2d;
@@ -42,16 +41,16 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeLine(const gp_Lin& L,
-                                      const StepData_Factors& theLocalFactors);
+                                      const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeLine(const gp_Lin2d& L,
-                                      const StepData_Factors& theLocalFactors);
+                                      const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeLine(const Handle(Geom_Line)& C,
-                                      const StepData_Factors& theLocalFactors);
+                                      const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeLine(const Handle(Geom2d_Line)& C,
-                                      const StepData_Factors& theLocalFactors);
+                                      const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Line)& Value() const;
 
index 78a39b51e43ef4177e465142d865b086342eff46..aa837e0bc85b0251366d2d96e5f2c15e7601b1af 100644 (file)
@@ -25,7 +25,6 @@
 class StepGeom_Parabola;
 class Geom2d_Parabola;
 class Geom_Parabola;
-class StepData_Factors;
 
 
 //! This class implements the mapping between the class
@@ -39,10 +38,10 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeParabola(const Handle(Geom2d_Parabola)& C,
-                                          const StepData_Factors& theLocalFactors);
+                                          const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeParabola(const Handle(Geom_Parabola)& C,
-                                          const StepData_Factors& theLocalFactors);
+                                          const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Parabola)& Value() const;
 
index cc6a7723716228a03d59d24d73e54b98752661fd..7f0cabf841babd0822fb90eed0f4efd01711b84f 100644 (file)
@@ -22,7 +22,6 @@
 #include <Standard_Handle.hxx>
 
 #include <GeomToStep_Root.hxx>
-class StepData_Factors;
 class StepGeom_Plane;
 class gp_Pln;
 class Geom_Plane;
@@ -40,10 +39,10 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakePlane(const gp_Pln& P,
-                                       const StepData_Factors& theLocalFactors);
+                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakePlane(const Handle(Geom_Plane)& P,
-                                       const StepData_Factors& theLocalFactors);
+                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Plane)& Value() const;
 
index 80635bf7197abd0139139df29de9d5d9841d49a1..f52adfb852eaf1a05005fa26d7c5c7ef4eb7bf13 100644 (file)
@@ -25,7 +25,6 @@
 #include <TColgp_Array1OfPnt.hxx>
 #include <TColgp_Array1OfPnt2d.hxx>
 
-class StepData_Factors;
 class StepGeom_Polyline;
 
 
@@ -39,10 +38,10 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakePolyline(const TColgp_Array1OfPnt& P,
-                                          const StepData_Factors& theLocalFactors);
+                                          const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakePolyline(const TColgp_Array1OfPnt2d& P,
-                                          const StepData_Factors& theLocalFactors);
+                                          const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Polyline)& Value() const;
 
index 68832c62d5bfa627ebb41913a400855e27674d51..a509f48d8f7d06b3ed7619336bdfdc7978dca639 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_RectangularTrimmedSurface;
 class Geom_RectangularTrimmedSurface;
 
@@ -41,7 +40,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeRectangularTrimmedSurface(const Handle(Geom_RectangularTrimmedSurface)& RTSurf,
-                                                           const StepData_Factors& theLocalFactors);
+                                                           const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_RectangularTrimmedSurface)& Value() const;
 
index 9f1697e0008129a0c6d050518399f9884a965616..3dbbdd8b2a86f4531fc5fe336c75c5eb43813a9a 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_SphericalSurface;
 class Geom_SphericalSurface;
 
@@ -40,7 +39,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeSphericalSurface(const Handle(Geom_SphericalSurface)& CSurf,
-                                                  const StepData_Factors& theLocalFactors);
+                                                  const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_SphericalSurface)& Value() const;
 
index 7ff59b185863b94cdf64f560a4ac44c3b6564083..7834efb55af124e665984fd5d437ae0b4b1c4967 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_Surface;
 class Geom_Surface;
 
@@ -40,7 +39,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeSurface(const Handle(Geom_Surface)& C,
-                                         const StepData_Factors& theLocalFactors);
+                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Surface)& Value() const;
 
index 85774c5032f0dfed9ff31b69506564d242a6a99a..86d2eec31cf294acd2c4cb5b6c5271cecee164a8 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_SurfaceOfLinearExtrusion;
 class Geom_SurfaceOfLinearExtrusion;
 
@@ -40,7 +39,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeSurfaceOfLinearExtrusion(const Handle(Geom_SurfaceOfLinearExtrusion)& CSurf,
-                                                          const StepData_Factors& theLocalFactors);
+                                                          const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_SurfaceOfLinearExtrusion)& Value() const;
 
index 2caa134addb1d87021fe1e264e1fdb2c6b80a5e9..7d18df9b93095e52cd95331c1ce45130466ca244 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_SurfaceOfRevolution;
 class Geom_SurfaceOfRevolution;
 
@@ -40,7 +39,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeSurfaceOfRevolution(const Handle(Geom_SurfaceOfRevolution)& RevSurf,
-                                                     const StepData_Factors& theLocalFactors);
+                                                     const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_SurfaceOfRevolution)& Value() const;
 
index 4406e140f1350dfb820eab9f1621ce97ce76ffaf..50a102ecdf52f8b86fbfcfb2390758decf866f55 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_SweptSurface;
 class Geom_SweptSurface;
 
@@ -41,7 +40,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeSweptSurface(const Handle(Geom_SweptSurface)& S,
-                                              const StepData_Factors& theLocalFactors);
+                                              const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_SweptSurface)& Value() const;
 
index 386ec139ef60b0e04815cd85cb84d664b6f92593..5f5a3ab1541982d5f5197419d877eda6f61e3945 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_ToroidalSurface;
 class Geom_ToroidalSurface;
 
@@ -40,7 +39,7 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeToroidalSurface(const Handle(Geom_ToroidalSurface)& TorSurf,
-                                                 const StepData_Factors& theLocalFactors);
+                                                 const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_ToroidalSurface)& Value() const;
 
index 286e0107cdd60ac6dec460cbd8bf378927ba2db8..3914054e1f8109ae4178bd976e88e903580d8003 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <GeomToStep_Root.hxx>
 
-class StepData_Factors;
 class StepGeom_Vector;
 class gp_Vec;
 class gp_Vec2d;
@@ -43,16 +42,16 @@ public:
 
   
   Standard_EXPORT GeomToStep_MakeVector(const gp_Vec& V,
-                                        const StepData_Factors& theLocalFactors);
+                                        const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeVector(const gp_Vec2d& V,
-                                        const StepData_Factors& theLocalFactors);
+                                        const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeVector(const Handle(Geom_Vector)& V,
-                                        const StepData_Factors& theLocalFactors);
+                                        const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT GeomToStep_MakeVector(const Handle(Geom2d_Vector)& V,
-                                        const StepData_Factors& theLocalFactors);
+                                        const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepGeom_Vector)& Value() const;
 
index 12ac256b25f7904b2c53d6be7ce0c07b1a30a60f..f8a288906f69202c473df17df78e464891d6951f 100644 (file)
@@ -20,6 +20,7 @@
 #include <Standard.hxx>
 #include <Standard_DefineAlloc.hxx>
 #include <Standard_Handle.hxx>
+#include <StepData_Factors.hxx>
 
 #include <Standard_Boolean.hxx>
 
index 5fb211931b07ef0f62dbc7ce6b395b36d2654085..e4b0905cd903a241e950561bed721b6a2f3d81da 100644 (file)
@@ -17,6 +17,7 @@
 #define _STEPCAFControl_Reader_HeaderFile
 
 #include <STEPControl_Reader.hxx>
+#include <StepData_Factors.hxx>
 #include <IFSelect_ReturnStatus.hxx>
 #include <TDF_LabelSequence.hxx>
 #include <TopTools_MapOfShape.hxx>
@@ -38,8 +39,6 @@ class StepShape_ConnectedFaceSet;
 class StepRepr_NextAssemblyUsageOccurrence;
 class STEPConstruct_Tool;
 class StepDimTol_Datum;
-class StepData_Factors;
-
 
 //! Provides a tool to read STEP file and put it into
 //! DECAF document. Besides transfer of shapes (including
@@ -234,7 +233,7 @@ protected:
   Standard_EXPORT Standard_Boolean ReadColors
                 (const Handle(XSControl_WorkSession)& WS,
                  const Handle(TDocStd_Document)& doc,
-                 const StepData_Factors& theLocalFactors) const;
+                 const StepData_Factors& theLocalFactors = StepData_Factors()) const;
   
   //! Reads names of parts defined in the STEP model and
   //! assigns them to corresponding labels in the DECAF document
@@ -246,7 +245,7 @@ protected:
   Standard_EXPORT Standard_Boolean ReadValProps (const Handle(XSControl_WorkSession)& WS,
                                                  const Handle(TDocStd_Document)& doc,
                                                  const STEPCAFControl_DataMapOfPDExternFile& PDFileMap,
-                                                 const StepData_Factors& theLocalFactors) const;
+                                                 const StepData_Factors& theLocalFactors = StepData_Factors()) const;
   
   //! Reads layers of parts defined in the STEP model and
   //! set reference between shape and layers in the DECAF document
@@ -260,19 +259,19 @@ protected:
   //! set reference between shape instances from different assemblyes
   Standard_EXPORT Standard_Boolean ReadGDTs (const Handle(XSControl_WorkSession)& WS,
                                              const Handle(TDocStd_Document)& doc,
-                                             const StepData_Factors& theLocalFactors);
+                                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Reads materials for instances defined in the STEP model and
   //! set reference between shape instances from different assemblyes
   Standard_EXPORT Standard_Boolean ReadMaterials (const Handle(XSControl_WorkSession)& WS,
                                                   const Handle(TDocStd_Document)& doc,
                                                   const Handle(TColStd_HSequenceOfTransient)& SeqPDS,
-                                                  const StepData_Factors& theLocalFactors) const;
+                                                  const StepData_Factors& theLocalFactors = StepData_Factors()) const;
   
   //! Reads Views for instances defined in the STEP model
   Standard_EXPORT Standard_Boolean ReadViews(const Handle(XSControl_WorkSession)& theWS,
                                              const Handle(TDocStd_Document)& theDoc,
-                                             const StepData_Factors& theLocalFactors) const;
+                                             const StepData_Factors& theLocalFactors = StepData_Factors()) const;
 
   //! Populates the sub-Label of the passed TDF Label with shape
   //! data associated with the given STEP Representation Item,
@@ -314,20 +313,20 @@ private:
     const Standard_Real theModifValue,
     const Handle(TDocStd_Document)& theDoc,
     const Handle(XSControl_WorkSession)& theWS,
-    const StepData_Factors& theLocalFactors);
+    const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Internal method. Read Datums, connected to GeomTolerance theGDTL.
   Standard_Boolean readDatumsAP242(const Handle(Standard_Transient)& theEnt,
     const TDF_Label theGDTL,
     const Handle(TDocStd_Document)& theDoc,
     const Handle(XSControl_WorkSession)& theWS,
-    const StepData_Factors& theLocalFactors);
+    const StepData_Factors& theLocalFactors = StepData_Factors());
 
   //! Internal method. Read Dimension or GeomTolerance.
   TDF_Label createGDTObjectInXCAF(const Handle(Standard_Transient)& theEnt,
     const Handle(TDocStd_Document)& theDoc,
     const Handle(XSControl_WorkSession)& theWS,
-    const StepData_Factors& theLocalFactors);
+    const StepData_Factors& theLocalFactors = StepData_Factors());
 
   //! Prepares units for transfer
   void prepareUnits(const Handle(StepData_StepModel)& theModel,
index 4d2dd038230f3079080e7b53b5b25e5abfd933fb..ef970c6914708f6faa4486ff33cf8636eca53ef0 100644 (file)
@@ -25,6 +25,7 @@
 #include <STEPControl_Writer.hxx>
 #include <StepAP242_GeometricItemSpecificUsage.hxx>
 #include <StepData_ConfParameters.hxx>
+#include <StepData_Factors.hxx>
 #include <StepDimTol_Datum.hxx>
 #include <StepDimTol_GeometricTolerance.hxx>
 #include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
@@ -39,7 +40,6 @@ class XSControl_WorkSession;
 class TDocStd_Document;
 class STEPCAFControl_ExternFile;
 class TopoDS_Shape;
-class StepData_Factors;
 
 //! Provides a tool to write DECAF document to the
 //! STEP file. Besides transfer of shapes (including
@@ -233,7 +233,7 @@ protected:
   TopoDS_Shape transferExternFiles(const TDF_Label& theLabel,
                                    const STEPControl_StepModelType theMode,
                                    TDF_LabelSequence& theLabelSeq,
-                                   const StepData_Factors& theLocalFactors,
+                                   const StepData_Factors& theLocalFactors = StepData_Factors(),
                                    const Standard_CString thePrefix = "",
                                    const Message_ProgressRange& theProgress = Message_ProgressRange());
 
@@ -256,7 +256,7 @@ protected:
   //! Write D&GTs assigned to specified labels, to STEP model, according AP242
   Standard_Boolean writeDGTsAP242(const Handle(XSControl_WorkSession)& theWS,
                                   const TDF_LabelSequence& theLabels,
-                                  const StepData_Factors& theLocalFactors);
+                                  const StepData_Factors& theLocalFactors = StepData_Factors());
 
   //! Write materials assigned to specified labels, to STEP model
   Standard_Boolean writeMaterials(const Handle(XSControl_WorkSession)& theWS,
@@ -297,14 +297,14 @@ protected:
                          const gp_Ax2& theAnnotationPlane,
                          const gp_Pnt& theTextPosition,
                          const Handle(Standard_Transient)& theDimension,
-                         const StepData_Factors& theLocalFactors);
+                         const StepData_Factors& theLocalFactors = StepData_Factors());
 
   Handle(StepDimTol_Datum) writeDatumAP242(const Handle(XSControl_WorkSession)& theWS,
                                            const TDF_LabelSequence& theShapeL,
                                            const TDF_Label& theDatumL,
                                            const Standard_Boolean isFirstDTarget,
                                            const Handle(StepDimTol_Datum)& theWrittenDatum,
-                                           const StepData_Factors& theLocalFactors);
+                                           const StepData_Factors& theLocalFactors = StepData_Factors());
 
   void writeToleranceZone(const Handle(XSControl_WorkSession)& theWS,
                           const Handle(XCAFDimTolObjects_GeomToleranceObject)& theObject,
@@ -316,7 +316,7 @@ protected:
                           const TDF_Label& theGeomTolL,
                           const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem,
                           const Handle(StepRepr_RepresentationContext)& theRC,
-                          const StepData_Factors& theLocalFactors);
+                          const StepData_Factors& theLocalFactors = StepData_Factors());
 
 private:
 
index c463ab42e7560ae0746fcf8d281b67b60ed244e5..1a7dbb836a413b92ee0171e0e77ece752d513b45 100644 (file)
@@ -23,8 +23,8 @@
 
 #include <Standard_Integer.hxx>
 #include <Standard_CString.hxx>
+#include <StepData_Factors.hxx>
 #include <StepBasic_SiPrefix.hxx>
-class StepData_Factors;
 class StepData_StepModel;
 class StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx;
 class StepRepr_GlobalUnitAssignedContext;
@@ -49,7 +49,7 @@ public:
   //! uncertainty equal to Tol3d)
   Standard_EXPORT void Init (const Standard_Real Tol3d,
                              const Handle(StepData_StepModel)& theModel,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Returns True if Init was called successfully
   Standard_EXPORT Standard_Boolean IsDone() const;
@@ -60,10 +60,10 @@ public:
   //! Computes the length, plane angle and solid angle conversion
   //! factor  .  Returns a status, 0 if OK
   Standard_EXPORT Standard_Integer ComputeFactors (const Handle(StepRepr_GlobalUnitAssignedContext)& aContext,
-                                                   const StepData_Factors& theLocalFactors);
+                                                   const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT Standard_Integer ComputeFactors (const Handle(StepBasic_NamedUnit)& aUnit,
-                                                   const StepData_Factors& theLocalFactors);
+                                                   const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Computes the uncertainty value (for length)
   Standard_EXPORT Standard_Integer ComputeTolerance (const Handle(StepRepr_GlobalUncertaintyAssignedContext)& aContext);
index 4a7bec3d51a21c4c86c515023602bc960e1e15a6..bbbb8490c850e0fc149d03f757ecd5e850ea264c 100644 (file)
@@ -26,7 +26,6 @@
 #include <Standard_CString.hxx>
 #include <TColStd_SequenceOfTransient.hxx>
 class StepBasic_ProductDefinition;
-class StepData_Factors;
 class XSControl_WorkSession;
 class TopoDS_Shape;
 class StepRepr_RepresentationItem;
@@ -115,13 +114,13 @@ public:
   Standard_EXPORT Standard_Boolean GetPropReal (const Handle(StepRepr_RepresentationItem)& item,
                                                 Standard_Real& Val,
                                                 Standard_Boolean& isArea,
-                                                const StepData_Factors& theLocalFactors) const;
+                                                const StepData_Factors& theLocalFactors = StepData_Factors()) const;
   
   //! Returns value of Centriod property (or False if it is not)
   Standard_EXPORT Standard_Boolean GetPropPnt (const Handle(StepRepr_RepresentationItem)& item,
                                                const Handle(StepRepr_RepresentationContext)& Context,
                                                gp_Pnt& Pnt,
-                                               const StepData_Factors& theLocalFactors) const;
+                                               const StepData_Factors& theLocalFactors = StepData_Factors()) const;
   
   //! Sets current assembly shape SDR (for FindCDSR calls)
   Standard_EXPORT void SetAssemblyShape (const TopoDS_Shape& shape);
index 4ff530270e4dbb3b29ed89534d5403982396134a..60bb24bd5cff101ff87b7e840ca17758cae7cfca 100644 (file)
@@ -1469,7 +1469,7 @@ Handle(TransferBRep_ShapeBinder) STEPControl_ActorRead::TransferEntity
     }
     else if (start->IsKind(STANDARD_TYPE(StepVisual_TessellatedSurfaceSet)))
     {
-      myShapeBuilder.Init(GetCasted(StepVisual_TessellatedSurfaceSet, start), TP, aLocalFactors, aHasGeom);
+      myShapeBuilder.Init(GetCasted(StepVisual_TessellatedSurfaceSet, start), TP, aHasGeom, aLocalFactors);
       found = Standard_True;
     }
   }
index 667a8176b7093531ef8e1fb173d2799eb82415a1..16cadcf40dbc1ec644689b9ba5eca23b6e1f6130 100644 (file)
@@ -20,6 +20,7 @@
 #include <Standard.hxx>
 #include <Standard_Type.hxx>
 
+#include <StepData_Factors.hxx>
 #include <StepToTopoDS_NMTool.hxx>
 #include <Transfer_ActorOfTransientProcess.hxx>
 #include <Standard_Integer.hxx>
@@ -47,7 +48,6 @@ class StepShape_FaceSurface;
 class TopoDS_Shell;
 class TopoDS_Compound;
 class StepRepr_ConstructiveGeometryRepresentationRelationship;
-class StepData_Factors;
 class StepData_StepModel;
 
 
@@ -77,7 +77,7 @@ public:
   Standard_EXPORT Handle(Transfer_Binder) TransferShape (
       const Handle(Standard_Transient)& start,
       const Handle(Transfer_TransientProcess)& TP,
-      const StepData_Factors& theLocalFactors,
+      const StepData_Factors& theLocalFactors = StepData_Factors(),
       const Standard_Boolean isManifold = Standard_True,
       const Standard_Boolean theUseTrsf = Standard_False,
       const Message_ProgressRange& theProgress = Message_ProgressRange());
@@ -105,14 +105,14 @@ public:
                                                           const Handle(StepRepr_Representation)& TargContext,
                                                           const Handle(Transfer_TransientProcess)& TP,
                                                           gp_Trsf& Trsf,
-                                                          const StepData_Factors& theLocalFactors);
+                                                          const StepData_Factors& theLocalFactors = StepData_Factors());
 
   //! Computes transformation defined by given
   //! REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION
   Standard_EXPORT Standard_Boolean ComputeSRRWT (const Handle(StepRepr_RepresentationRelationship)& SRR,
                                                  const Handle(Transfer_TransientProcess)& TP,
                                                  gp_Trsf& Trsf,
-                                                 const StepData_Factors& theLocalFactors);
+                                                 const StepData_Factors& theLocalFactors = StepData_Factors());
 
 
 
@@ -127,7 +127,7 @@ protected:
     Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity (
       const Handle(StepBasic_ProductDefinition)& PD,
       const Handle(Transfer_TransientProcess)& TP,
-      const StepData_Factors& theLocalFactors,
+      const StepData_Factors& theLocalFactors = StepData_Factors(),
       const Standard_Boolean theUseTrsf = Standard_False,
       const Message_ProgressRange& theProgress = Message_ProgressRange());
 
@@ -135,7 +135,7 @@ protected:
   Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
                    (const Handle(StepRepr_NextAssemblyUsageOccurrence)& NAUO,
                     const Handle(Transfer_TransientProcess)& TP,
-                    const StepData_Factors& theLocalFactors,
+                    const StepData_Factors& theLocalFactors = StepData_Factors(),
                     const Message_ProgressRange& theProgress = Message_ProgressRange());
 
   //! Transfers shape representation entity
@@ -152,7 +152,7 @@ protected:
   Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
                    (const Handle(StepShape_ContextDependentShapeRepresentation)& CDSR,
                     const Handle(Transfer_TransientProcess)& TP,
-                    const StepData_Factors& theLocalFactors,
+                    const StepData_Factors& theLocalFactors = StepData_Factors(),
                     const Message_ProgressRange& theProgress = Message_ProgressRange());
 
   //! Transfers  shape representation relationship entity
@@ -189,7 +189,7 @@ protected:
 
   Handle(TransferBRep_ShapeBinder) TransferEntity( const Handle(StepRepr_ConstructiveGeometryRepresentationRelationship)& theCGRR,
                                                    const Handle(Transfer_TransientProcess)& theTP,
-                                                   const StepData_Factors& theLocalFactors);
+                                                   const StepData_Factors& theLocalFactors = StepData_Factors());
 
   //! Translates file by old way when CDSR are roots . Acts only if "read.step.product_mode" is equal Off.
   Standard_EXPORT Handle(TransferBRep_ShapeBinder) OldWay
index 5cf5aca20e2b956c27067a9e7165be60c8af8b0d..bb75947ff2fc2d2c2c01dd0b3d301476aaac6957 100644 (file)
@@ -28,7 +28,6 @@
 class Transfer_Finder;
 class Transfer_Binder;
 class Transfer_FinderProcess;
-class StepData_Factors;
 class StepShape_ShapeDefinitionRepresentation;
 class StepGeom_Axis2Placement3d;
 class TopoDS_Shape;
@@ -60,7 +59,7 @@ public:
                     const Handle(StepShape_ShapeDefinitionRepresentation)& SDR,
                     Handle(StepGeom_Axis2Placement3d)& AX1, 
                     const Handle(Transfer_FinderProcess)& FP,
-                    const StepData_Factors& theLocalFactors,
+                    const StepData_Factors& theLocalFactors = StepData_Factors(),
                     const Handle(TopTools_HSequenceOfShape)& shapeGroup = NULL, 
                     const Standard_Boolean isManifold = Standard_True,
                     const Message_ProgressRange& theProgress = Message_ProgressRange());
@@ -69,7 +68,7 @@ public:
                    (const Handle(Transfer_Finder)& start,
                     const Handle(StepShape_ShapeDefinitionRepresentation)& SDR,
                     const Handle(Transfer_FinderProcess)& FP,
-                    const StepData_Factors& theLocalFactors,
+                    const StepData_Factors& theLocalFactors = StepData_Factors(),
                     const Handle(TopTools_HSequenceOfShape)& shapeGroup = NULL,
                     const Standard_Boolean isManifold = Standard_True,
                     const Message_ProgressRange& theProgress = Message_ProgressRange());
@@ -78,7 +77,7 @@ public:
                    (const Handle(Transfer_Finder)& start,
                     const Handle(StepShape_ShapeDefinitionRepresentation)& SDR,
                     const Handle(Transfer_FinderProcess)& FP,
-                    const StepData_Factors& theLocalFactors,
+                    const StepData_Factors& theLocalFactors = StepData_Factors(),
                     const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT void SetMode (const STEPControl_StepModelType M);
index 24c74d2595f47aa2825b26e9be39e027bab0b052..3f0ee8e92becf71573da95e53731f3f514f83b20 100644 (file)
@@ -20,6 +20,7 @@
 #include <Standard.hxx>
 #include <Standard_DefineAlloc.hxx>
 #include <Standard_Handle.hxx>
+#include <StepData_Factors.hxx>
 
 class Geom_Axis1Placement;
 class Geom_Axis2Placement;
@@ -67,7 +68,6 @@ class Geom2d_VectorWithMagnitude;
 class gp_Trsf;
 class gp_Trsf2d;
 
-class StepData_Factors;
 class StepGeom_Axis1Placement;
 class StepGeom_Axis2Placement2d;
 class StepGeom_Axis2Placement3d;
@@ -115,94 +115,94 @@ class StepToGeom
 public:
 
   Standard_EXPORT static Handle(Geom_Axis1Placement) MakeAxis1Placement (const Handle(StepGeom_Axis1Placement)& SA,
-                                                                         const StepData_Factors& theLocalFactors);
+                                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Axis2Placement) MakeAxis2Placement (const Handle(StepGeom_Axis2Placement3d)& SA,
-                                                                         const StepData_Factors& theLocalFactors);
+                                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Axis2Placement) MakeAxis2Placement (const Handle(StepGeom_SuParameters)& SP);
   Standard_EXPORT static Handle(Geom2d_AxisPlacement) MakeAxisPlacement (const Handle(StepGeom_Axis2Placement2d)& SA,
-                                                                         const StepData_Factors& theLocalFactors);
+                                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_BoundedCurve) MakeBoundedCurve (const Handle(StepGeom_BoundedCurve)& SC,
-                                                                     const StepData_Factors& theLocalFactors);
+                                                                     const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_BoundedCurve) MakeBoundedCurve2d (const Handle(StepGeom_BoundedCurve)& SC,
-                                                                         const StepData_Factors& theLocalFactors);
+                                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_BoundedSurface) MakeBoundedSurface (const Handle(StepGeom_BoundedSurface)& SS,
-                                                                         const StepData_Factors& theLocalFactors);
+                                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_BSplineCurve) MakeBSplineCurve (const Handle(StepGeom_BSplineCurve)& SC,
-                                                                     const StepData_Factors& theLocalFactors);
+                                                                     const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_BSplineCurve) MakeBSplineCurve2d (const Handle(StepGeom_BSplineCurve)& SC,
-                                                                         const StepData_Factors& theLocalFactors);
+                                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_BSplineSurface) MakeBSplineSurface (const Handle(StepGeom_BSplineSurface)& SS,
-                                                                         const StepData_Factors& theLocalFactors);
+                                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_CartesianPoint) MakeCartesianPoint (const Handle(StepGeom_CartesianPoint)& SP,
-                                                                         const StepData_Factors& theLocalFactors);
+                                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_CartesianPoint) MakeCartesianPoint2d (const Handle(StepGeom_CartesianPoint)& SP,
-                                                                             const StepData_Factors& theLocalFactors);
+                                                                             const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Circle) MakeCircle (const Handle(StepGeom_Circle)& SC,
-                                                         const StepData_Factors& theLocalFactors);
+                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_Circle) MakeCircle2d (const Handle(StepGeom_Circle)& SC,
-                                                             const StepData_Factors& theLocalFactors);
+                                                             const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Conic) MakeConic (const Handle(StepGeom_Conic)& SC,
-                                                       const StepData_Factors& theLocalFactors);
+                                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_Conic) MakeConic2d (const Handle(StepGeom_Conic)& SC,
-                                                           const StepData_Factors& theLocalFactors);
+                                                           const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_ConicalSurface) MakeConicalSurface (const Handle(StepGeom_ConicalSurface)& SS,
-                                                                         const StepData_Factors& theLocalFactors);
+                                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Curve) MakeCurve (const Handle(StepGeom_Curve)& SC,
-                                                       const StepData_Factors& theLocalFactors);
+                                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_Curve) MakeCurve2d (const Handle(StepGeom_Curve)& SC,
-                                                           const StepData_Factors& theLocalFactors);
+                                                           const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_CylindricalSurface) MakeCylindricalSurface (const Handle(StepGeom_CylindricalSurface)& SS,
-                                                                                 const StepData_Factors& theLocalFactors);
+                                                                                 const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Direction) MakeDirection (const Handle(StepGeom_Direction)& SD);
   Standard_EXPORT static Handle(Geom2d_Direction) MakeDirection2d (const Handle(StepGeom_Direction)& SD);
   Standard_EXPORT static Handle(Geom_ElementarySurface) MakeElementarySurface (const Handle(StepGeom_ElementarySurface)& SS,
-                                                                               const StepData_Factors& theLocalFactors);
+                                                                               const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Ellipse) MakeEllipse (const Handle(StepGeom_Ellipse)& SC,
-                                                           const StepData_Factors& theLocalFactors);
+                                                           const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_Ellipse) MakeEllipse2d (const Handle(StepGeom_Ellipse)& SC,
-                                                               const StepData_Factors& theLocalFactors);
+                                                               const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Hyperbola) MakeHyperbola (const Handle(StepGeom_Hyperbola)& SC,
-                                                               const StepData_Factors& theLocalFactors);
+                                                               const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_Hyperbola) MakeHyperbola2d (const Handle(StepGeom_Hyperbola)& SC,
-                                                                   const StepData_Factors& theLocalFactors);
+                                                                   const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Line) MakeLine (const Handle(StepGeom_Line)& SC,
-                                                     const StepData_Factors& theLocalFactors);
+                                                     const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_Line) MakeLine2d (const Handle(StepGeom_Line)& SC,
-                                                         const StepData_Factors& theLocalFactors);
+                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Parabola) MakeParabola (const Handle(StepGeom_Parabola)& SC,
-                                                             const StepData_Factors& theLocalFactors);
+                                                             const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_Parabola) MakeParabola2d (const Handle(StepGeom_Parabola)& SC,
-                                                                 const StepData_Factors& theLocalFactors);
+                                                                 const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Plane) MakePlane (const Handle(StepGeom_Plane)& SP,
-                                                       const StepData_Factors& theLocalFactors);
+                                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_BSplineCurve) MakePolyline (const Handle(StepGeom_Polyline)& SPL,
-                                                                 const StepData_Factors& theLocalFactors);
+                                                                 const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_BSplineCurve) MakePolyline2d (const Handle(StepGeom_Polyline)& SPL,
-                                                                     const StepData_Factors& theLocalFactors);
+                                                                     const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_RectangularTrimmedSurface) MakeRectangularTrimmedSurface (const Handle(StepGeom_RectangularTrimmedSurface)& SS,
-                                                                                               const StepData_Factors& theLocalFactors);
+                                                                                               const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_SphericalSurface) MakeSphericalSurface (const Handle(StepGeom_SphericalSurface)& SS,
-                                                                             const StepData_Factors& theLocalFactors);
+                                                                             const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_Surface) MakeSurface (const Handle(StepGeom_Surface)& SS,
-                                                           const StepData_Factors& theLocalFactors);
+                                                           const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_SurfaceOfLinearExtrusion) MakeSurfaceOfLinearExtrusion (const Handle(StepGeom_SurfaceOfLinearExtrusion)& SS,
-                                                                                             const StepData_Factors& theLocalFactors);
+                                                                                             const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_SurfaceOfRevolution) MakeSurfaceOfRevolution (const Handle(StepGeom_SurfaceOfRevolution)& SS,
-                                                                                   const StepData_Factors& theLocalFactors);
+                                                                                   const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_SweptSurface) MakeSweptSurface (const Handle(StepGeom_SweptSurface)& SS,
-                                                                     const StepData_Factors& theLocalFactors);
+                                                                     const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_ToroidalSurface) MakeToroidalSurface (const Handle(StepGeom_ToroidalSurface)& SS,
-                                                                           const StepData_Factors& theLocalFactors);
+                                                                           const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Standard_Boolean MakeTransformation2d (const Handle(StepGeom_CartesianTransformationOperator2d)& SCTO, gp_Trsf2d& CT,
-                                                                const StepData_Factors& theLocalFactors);
+                                                                const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Standard_Boolean MakeTransformation3d (const Handle(StepGeom_CartesianTransformationOperator3d)& SCTO, gp_Trsf& CT,
-                                                                const StepData_Factors& theLocalFactors);
+                                                                const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_TrimmedCurve) MakeTrimmedCurve (const Handle(StepGeom_TrimmedCurve)& SC,
-                                                                     const StepData_Factors& theLocalFactors);
+                                                                     const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_BSplineCurve) MakeTrimmedCurve2d (const Handle(StepGeom_TrimmedCurve)& SC,
-                                                                         const StepData_Factors& theLocalFactors);
+                                                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom_VectorWithMagnitude) MakeVectorWithMagnitude (const Handle(StepGeom_Vector)& SV,
-                                                                                   const StepData_Factors& theLocalFactors);
+                                                                                   const StepData_Factors& theLocalFactors = StepData_Factors());
   Standard_EXPORT static Handle(Geom2d_VectorWithMagnitude) MakeVectorWithMagnitude2d (const Handle(StepGeom_Vector)& SV);
   Standard_EXPORT static Handle(TColStd_HArray1OfReal) MakeYprRotation(const StepKinematics_SpatialRotation& SR, const Handle(StepRepr_GlobalUnitAssignedContext)& theCntxt);
 };
index aabf96b097258adb2121e55d78236fec494e6434..49991f88a1496a03af4a0c62a055917f918b5bd9 100644 (file)
@@ -897,8 +897,8 @@ void StepToTopoDS_Builder::Init(const Handle(StepVisual_TessellatedFace)& theTF,
 // ============================================================================
 void StepToTopoDS_Builder::Init(const Handle(StepVisual_TessellatedSurfaceSet)& theTSS,
                                 const Handle(Transfer_TransientProcess)& theTP,
-                                const StepData_Factors& theLocalFactors,
-                                Standard_Boolean& theHasGeom)
+                                Standard_Boolean& theHasGeom,
+                                const StepData_Factors& theLocalFactors)
 {
   StepToTopoDS_TranslateFace aTranFace;
   aTranFace.SetPrecision(Precision());
index 4453fb377c1823a44251d6282bc2b966ab2fa6ae..1d77f866d3da055cd41d21740b1ef493007824e0 100644 (file)
@@ -55,41 +55,41 @@ public:
   
   Standard_EXPORT void Init (const Handle(StepShape_ManifoldSolidBrep)& theManifoldSolid,
                              const Handle(Transfer_TransientProcess)& theTP,
-                             const StepData_Factors& theLocalFactors,
+                             const StepData_Factors& theLocalFactors = StepData_Factors(),
                              const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT void Init (const Handle(StepShape_BrepWithVoids)& theBRepWithVoids,
                              const Handle(Transfer_TransientProcess)& theTP,
-                             const StepData_Factors& theLocalFactors,
+                             const StepData_Factors& theLocalFactors = StepData_Factors(),
                              const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT void Init (const Handle(StepShape_FacetedBrep)& theFB,
                              const Handle(Transfer_TransientProcess)& theTP,
-                             const StepData_Factors& theLocalFactors,
+                             const StepData_Factors& theLocalFactors = StepData_Factors(),
                              const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT void Init (const Handle(StepShape_FacetedBrepAndBrepWithVoids)& theFBABWV,
                              const Handle(Transfer_TransientProcess)& theTP,
-                             const StepData_Factors& theLocalFactors,
+                             const StepData_Factors& theLocalFactors = StepData_Factors(),
                              const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT void Init (const Handle(StepShape_ShellBasedSurfaceModel)& S,
                              const Handle(Transfer_TransientProcess)& TP,
                              StepToTopoDS_NMTool& NMTool,
-                             const StepData_Factors& theLocalFactors,
+                             const StepData_Factors& theLocalFactors = StepData_Factors(),
                              const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT void Init (const Handle(StepShape_EdgeBasedWireframeModel)& S,
                              const Handle(Transfer_TransientProcess)& TP,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const Handle(StepShape_FaceBasedSurfaceModel)& S,
                              const Handle(Transfer_TransientProcess)& TP,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const Handle(StepShape_GeometricSet)& S,
                              const Handle(Transfer_TransientProcess)& TP,
-                             const StepData_Factors& theLocalFactors,
+                             const StepData_Factors& theLocalFactors = StepData_Factors(),
                              const Handle(Transfer_ActorOfTransientProcess)& RA = NULL,
                              const Standard_Boolean isManifold = Standard_False,
                              const Message_ProgressRange& theProgress = Message_ProgressRange());
@@ -98,26 +98,26 @@ public:
                              const Handle(Transfer_TransientProcess)& theTP,
                              const Standard_Boolean theReadTessellatedWhenNoBRepOnly,
                              Standard_Boolean& theHasGeom,
-                             const StepData_Factors& theLocalFactors,
+                             const StepData_Factors& theLocalFactors = StepData_Factors(),
                              const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT void Init (const Handle(StepVisual_TessellatedShell)& theTSh,
                              const Handle(Transfer_TransientProcess)& theTP,
                              const Standard_Boolean theReadTessellatedWhenNoBRepOnly,
                              Standard_Boolean& theHasGeom,
-                             const StepData_Factors& theLocalFactors,
+                             const StepData_Factors& theLocalFactors = StepData_Factors(),
                              const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT void Init (const Handle(StepVisual_TessellatedFace)& theTF,
                              const Handle(Transfer_TransientProcess)& theTP,
                              const Standard_Boolean theReadTessellatedWhenNoBRepOnly,
                              Standard_Boolean& theHasGeom,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
 
   Standard_EXPORT void Init (const Handle(StepVisual_TessellatedSurfaceSet)& theTSS,
                              const Handle(Transfer_TransientProcess)& theTP,
-                             const StepData_Factors& theLocalFactors,
-                             Standard_Boolean& theHasGeom);
+                             Standard_Boolean& theHasGeom,
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const TopoDS_Shape& Value() const;
   
index 5d70185dde9c973a9415204d95bf14878134a620..725a0a198697a5ebd5c6342f679adebb27b1bfec 100644 (file)
@@ -25,7 +25,6 @@
 #include <StepToTopoDS_Root.hxx>
 #include <Message_ProgressRange.hxx>
 
-class StepData_Factors;
 class StepGeom_Axis2Placement3d;
 class StepGeom_CartesianTransformationOperator3d;
 class TopoDS_Shape;
@@ -47,11 +46,11 @@ public:
   //! If not done, the transformation will by Identity
   Standard_EXPORT Standard_Boolean Compute (const Handle(StepGeom_Axis2Placement3d)& Origin,
                                             const Handle(StepGeom_Axis2Placement3d)& Target,
-                                            const StepData_Factors& theLocalFactors);
+                                            const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Computes a transformation defined by an operator 3D
   Standard_EXPORT Standard_Boolean Compute (const Handle(StepGeom_CartesianTransformationOperator3d)& Operator,
-                                            const StepData_Factors& theLocalFactors);
+                                            const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Returns the computed transformation (Identity if not yet or
   //! if failed)
@@ -73,7 +72,7 @@ public:
   //! transformed as an instance of this Shape
   Standard_EXPORT TopoDS_Shape TranslateMappedItem (const Handle(StepRepr_MappedItem)& mapit,
                                                     const Handle(Transfer_TransientProcess)& TP,
-                                                    const StepData_Factors& theLocalFactors,
+                                                    const StepData_Factors& theLocalFactors = StepData_Factors(),
                                                     const Message_ProgressRange& theProgress = Message_ProgressRange());
 
 
index d940a2fe87693b577f1e41b3b014edbcd593edb9..1fa50bee77ec8c6d7f20a177421993b84781d3a8 100644 (file)
@@ -49,26 +49,26 @@ public:
   //! Translates standalone composite_curve
   Standard_EXPORT StepToTopoDS_TranslateCompositeCurve(const Handle(StepGeom_CompositeCurve)& CC,
                                                        const Handle(Transfer_TransientProcess)& TP,
-                                                       const StepData_Factors& theLocalFactors);
+                                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Translates composite_curve lying on surface
   Standard_EXPORT StepToTopoDS_TranslateCompositeCurve(const Handle(StepGeom_CompositeCurve)& CC,
                                                        const Handle(Transfer_TransientProcess)& TP,
                                                        const Handle(StepGeom_Surface)& S,
                                                        const Handle(Geom_Surface)& Surf,
-                                                       const StepData_Factors& theLocalFactors);
+                                                       const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Translates standalone composite_curve
   Standard_EXPORT Standard_Boolean Init (const Handle(StepGeom_CompositeCurve)& CC,
                                          const Handle(Transfer_TransientProcess)& TP,
-                                         const StepData_Factors& theLocalFactors);
+                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Translates composite_curve lying on surface
   Standard_EXPORT Standard_Boolean Init (const Handle(StepGeom_CompositeCurve)& CC,
                                          const Handle(Transfer_TransientProcess)& TP,
                                          const Handle(StepGeom_Surface)& S,
                                          const Handle(Geom_Surface)& Surf,
-                                         const StepData_Factors& theLocalFactors);
+                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Returns result of last translation or null wire if failed.
   Standard_EXPORT const TopoDS_Wire& Value() const;
index 176177890cd52e730c7b842ac8ad86f30543de07..7def7abf3aee29363df07bfde2785ad92384eaea 100644 (file)
@@ -41,12 +41,12 @@ public:
   //! Translate surface
   Standard_EXPORT StepToTopoDS_TranslateCurveBoundedSurface(const Handle(StepGeom_CurveBoundedSurface)& CBS,
                                                             const Handle(Transfer_TransientProcess)& TP,
-                                                            const StepData_Factors& theLocalFactors);
+                                                            const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Translate surface
   Standard_EXPORT Standard_Boolean Init (const Handle(StepGeom_CurveBoundedSurface)& CBS,
                                          const Handle(Transfer_TransientProcess)& TP,
-                                         const StepData_Factors& theLocalFactors);
+                                         const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Returns result of last translation or null wire if failed.
   Standard_EXPORT const TopoDS_Face& Value() const;
index 108e255e4615a9a51111e20f042963dca6517b37..4ecf5a41a73c55e034afbf99a70e11c9f1cb9d9a 100644 (file)
@@ -24,7 +24,6 @@
 #include <StepToTopoDS_TranslateEdgeError.hxx>
 #include <TopoDS_Shape.hxx>
 #include <StepToTopoDS_Root.hxx>
-class StepData_Factors;
 class StepShape_Edge;
 class StepToTopoDS_Tool;
 class StepToTopoDS_NMTool;
@@ -51,12 +50,12 @@ public:
   Standard_EXPORT StepToTopoDS_TranslateEdge(const Handle(StepShape_Edge)& E,
                                              StepToTopoDS_Tool& T,
                                              StepToTopoDS_NMTool& NMTool,
-                                             const StepData_Factors& theLocalFactors);
+                                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const Handle(StepShape_Edge)& E,
                              StepToTopoDS_Tool& T,
                              StepToTopoDS_NMTool& NMTool,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   //! Warning! C3D is assumed to be a Curve 3D ...
   //! other cases to checked before calling this
@@ -68,11 +67,11 @@ public:
                                         TopoDS_Vertex& V1,
                                         TopoDS_Vertex& V2,
                                         StepToTopoDS_Tool& T,
-                                        const StepData_Factors& theLocalFactors);
+                                        const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT Handle(Geom2d_Curve) MakePCurve (const Handle(StepGeom_Pcurve)& PCU,
                                                    const Handle(Geom_Surface)& ConvSurf,
-                                                   const StepData_Factors& theLocalFactors) const;
+                                                   const StepData_Factors& theLocalFactors = StepData_Factors()) const;
   
   Standard_EXPORT const TopoDS_Shape& Value() const;
   
index d20769cede920359ea8d4b018603a30f9bc86f25..b5c106c767acede501853493d442059a2fa3b3e6 100644 (file)
@@ -49,7 +49,7 @@ public:
                                                  const Standard_Boolean ss,
                                                  StepToTopoDS_Tool& T,
                                                  StepToTopoDS_NMTool& NMTool,
-                                                 const StepData_Factors& theLocalFactors);
+                                                 const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const Handle(StepShape_FaceBound)& FB,
                              const TopoDS_Face& F,
@@ -58,7 +58,7 @@ public:
                              const Standard_Boolean ss,
                              StepToTopoDS_Tool& T,
                              StepToTopoDS_NMTool& NMTool,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const TopoDS_Shape& Value() const;
   
index 865e189ba22a4f65bffeb72bdc3a09b418fb93c4..c58b56745da47ab6ededdf0cf9fa60ead5264ae1 100644 (file)
@@ -25,7 +25,6 @@
 #include <TopoDS_Shape.hxx>
 #include <StepToTopoDS_Root.hxx>
 class Poly_Triangulation;
-class StepData_Factors;
 class StepShape_FaceSurface;
 class StepToTopoDS_Tool;
 class StepToTopoDS_NMTool;
@@ -47,36 +46,36 @@ public:
   Standard_EXPORT StepToTopoDS_TranslateFace(const Handle(StepShape_FaceSurface)& FS,
                                              StepToTopoDS_Tool& T,
                                              StepToTopoDS_NMTool& NMTool,
-                                             const StepData_Factors& theLocalFactors);
+                                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT StepToTopoDS_TranslateFace(const Handle(StepVisual_TessellatedFace)& theTF, 
                                              StepToTopoDS_Tool& theTool,
                                              StepToTopoDS_NMTool& theNMTool,
                                              const Standard_Boolean theReadTessellatedWhenNoBRepOnly,
                                              Standard_Boolean& theHasGeom,
-                                             const StepData_Factors& theLocalFactors);
+                                             const StepData_Factors& theLocalFactors = StepData_Factors());
 
   Standard_EXPORT StepToTopoDS_TranslateFace(const Handle(StepVisual_TessellatedSurfaceSet)& theTSS,
                                              StepToTopoDS_Tool& theTool,
                                              StepToTopoDS_NMTool& theNMTool,
-                                             const StepData_Factors& theLocalFactors);
+                                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const Handle(StepShape_FaceSurface)& FS,
                              StepToTopoDS_Tool& T,
                              StepToTopoDS_NMTool& NMTool,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const Handle(StepVisual_TessellatedFace)& theTF,
                              StepToTopoDS_Tool& theTool,
                              StepToTopoDS_NMTool& theNMTool,
                              const Standard_Boolean theReadTessellatedWhenNoBRepOnly,
                              Standard_Boolean& theHasGeom,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
 
   Standard_EXPORT void Init(const Handle(StepVisual_TessellatedSurfaceSet)& theTSS,
                             StepToTopoDS_Tool& theTool,
                             StepToTopoDS_NMTool& theNMTool,
-                            const StepData_Factors& theLocalFactors);
+                            const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const TopoDS_Shape& Value() const;
   
@@ -85,7 +84,7 @@ public:
 private:
 
   Handle(Poly_Triangulation) createMesh(const Handle(StepVisual_TessellatedItem)& theTI,
-                                        const StepData_Factors& theLocalFactors) const;
+                                        const StepData_Factors& theLocalFactors = StepData_Factors()) const;
 
   StepToTopoDS_TranslateFaceError myError;
   TopoDS_Shape myResult;
index 4e02ad30ad2d744b21eebcf1f2df05afeb96655f..415e8f50174aa71155dd46b6c421730da16e4b85 100644 (file)
@@ -24,7 +24,6 @@
 #include <StepToTopoDS_TranslatePolyLoopError.hxx>
 #include <TopoDS_Shape.hxx>
 #include <StepToTopoDS_Root.hxx>
-class StepData_Factors;
 class StepShape_PolyLoop;
 class StepToTopoDS_Tool;
 class Geom_Surface;
@@ -45,13 +44,13 @@ public:
                                                  StepToTopoDS_Tool& T,
                                                  const Handle(Geom_Surface)& S,
                                                  const TopoDS_Face& F,
-                                                 const StepData_Factors& theLocalFactors);
+                                                 const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const Handle(StepShape_PolyLoop)& PL,
                              StepToTopoDS_Tool& T,
                              const Handle(Geom_Surface)& S,
                              const TopoDS_Face& F,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const TopoDS_Shape& Value() const;
   
index f77232b6a169928ed81f590db6322237bbfbb682..a7237ee7c33ae96c69c4adf206cd0c9c4eb1a8e2 100644 (file)
@@ -44,7 +44,7 @@ public:
   Standard_EXPORT void Init (const Handle(StepShape_ConnectedFaceSet)& CFS,
                              StepToTopoDS_Tool& T,
                              StepToTopoDS_NMTool& NMTool,
-                             const StepData_Factors& theLocalFactors,
+                             const StepData_Factors& theLocalFactors = StepData_Factors(),
                              const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT void Init (const Handle(StepVisual_TessellatedShell)& theTSh,
@@ -52,7 +52,7 @@ public:
                              StepToTopoDS_NMTool& theNMTool,
                              const Standard_Boolean theReadTessellatedWhenNoBRepOnly,
                              Standard_Boolean& theHasGeom,
-                             const StepData_Factors& theLocalFactors,
+                             const StepData_Factors& theLocalFactors = StepData_Factors(),
                              const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT const TopoDS_Shape& Value() const;
index e4f648d475d571d4ae152f1e0f51cff28ecab8b5..b88733e8ac57be2223457aa8b5c2bacbdea8e707 100644 (file)
@@ -44,7 +44,7 @@ public:
                             StepToTopoDS_NMTool& theNMTool,
                             const Standard_Boolean theReadTessellatedWhenNoBRepOnly,
                             Standard_Boolean& theHasGeom,
-                            const StepData_Factors& theLocalFactors,
+                            const StepData_Factors& theLocalFactors = StepData_Factors(),
                             const Message_ProgressRange& theProgress = Message_ProgressRange());
 
   Standard_EXPORT const TopoDS_Shape& Value() const;
index f14697c484e9492808a688861b7afcfad0621212..265dfef41357205cdfdbaad2b4ae1bc0ff264c26 100644 (file)
@@ -24,7 +24,6 @@
 #include <StepToTopoDS_TranslateVertexError.hxx>
 #include <TopoDS_Shape.hxx>
 #include <StepToTopoDS_Root.hxx>
-class StepData_Factors;
 class StepShape_Vertex;
 class StepToTopoDS_Tool;
 class StepToTopoDS_NMTool;
@@ -43,12 +42,12 @@ public:
   Standard_EXPORT StepToTopoDS_TranslateVertex(const Handle(StepShape_Vertex)& V,
                                                StepToTopoDS_Tool& T,
                                                StepToTopoDS_NMTool& NMTool,
-                                               const StepData_Factors& theLocalFactors);
+                                               const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const Handle(StepShape_Vertex)& V,
                              StepToTopoDS_Tool& T,
                              StepToTopoDS_NMTool& NMTool,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const TopoDS_Shape& Value() const;
   
index cd17991daca5250204b6e7dc388e8a280887b716..878b65220e98fd44bcdcdd200260f05d722e031c 100644 (file)
@@ -24,7 +24,6 @@
 #include <StepToTopoDS_TranslateVertexLoopError.hxx>
 #include <TopoDS_Shape.hxx>
 #include <StepToTopoDS_Root.hxx>
-class StepData_Factors;
 class StepShape_VertexLoop;
 class StepToTopoDS_Tool;
 class StepToTopoDS_NMTool;
@@ -43,12 +42,12 @@ public:
   Standard_EXPORT StepToTopoDS_TranslateVertexLoop(const Handle(StepShape_VertexLoop)& VL,
                                                    StepToTopoDS_Tool& T,
                                                    StepToTopoDS_NMTool& NMTool,
-                                                   const StepData_Factors& theLocalFactors);
+                                                   const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const Handle(StepShape_VertexLoop)& VL,
                              StepToTopoDS_Tool& T,
                              StepToTopoDS_NMTool& NMTool,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const TopoDS_Shape& Value() const;
   
index cd5123b16621f97cd1a47254db04fa36eafe9a51..ceca05392ac757698ce63e3440ed8fb4a0a41215 100644 (file)
@@ -25,7 +25,6 @@
 #include <TopoDSToStep_Root.hxx>
 #include <Message_ProgressRange.hxx>
 
-class StepData_Factors;
 class StepShape_TopologicalRepresentationItem;
 class StepVisual_TessellatedItem;
 class TopoDS_Shape;
@@ -48,14 +47,14 @@ public:
                                        TopoDSToStep_Tool& T,
                                        const Handle(Transfer_FinderProcess)& FP,
                                        const Standard_Integer theTessellatedGeomParam,
-                                       const StepData_Factors& theLocalFactors,
+                                       const StepData_Factors& theLocalFactors = StepData_Factors(),
                                        const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT void Init (const TopoDS_Shape& S,
                              TopoDSToStep_Tool& T,
                              const Handle(Transfer_FinderProcess)& FP,
                              const Standard_Integer theTessellatedGeomParam,
-                             const StepData_Factors& theLocalFactors,
+                             const StepData_Factors& theLocalFactors = StepData_Factors(),
                              const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT TopoDSToStep_BuilderError Error() const;
index bd317c740908e79f89f6e9eabd881d0b9b869154..d57f714270be37db20f0fe686a05ff6f1f803a53 100644 (file)
@@ -44,7 +44,7 @@ public:
   
   Standard_EXPORT TopoDSToStep_MakeBrepWithVoids(const TopoDS_Solid& S,
                                                  const Handle(Transfer_FinderProcess)& FP,
-                                                 const StepData_Factors& theLocalFactors,
+                                                 const StepData_Factors& theLocalFactors = StepData_Factors(),
                                                  const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT const Handle(StepShape_BrepWithVoids)& Value() const;
index 2391b5a55ecc2e1483b054f471ec1eab0f6b84be..fb406f6c1359f66e32ffe81ce11aeecb09cf7d44 100644 (file)
@@ -24,7 +24,6 @@
 #include <TopoDSToStep_Root.hxx>
 #include <Message_ProgressRange.hxx>
 
-class StepData_Factors;
 class StepShape_FacetedBrep;
 class StepVisual_TessellatedItem;
 class TopoDS_Shell;
@@ -46,12 +45,12 @@ public:
   
   Standard_EXPORT TopoDSToStep_MakeFacetedBrep(const TopoDS_Shell& S,
                                                const Handle(Transfer_FinderProcess)& FP,
-                                               const StepData_Factors& theLocalFactors,
+                                               const StepData_Factors& theLocalFactors = StepData_Factors(),
                                                const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT TopoDSToStep_MakeFacetedBrep(const TopoDS_Solid& S,
                                                const Handle(Transfer_FinderProcess)& FP,
-                                               const StepData_Factors& theLocalFactors,
+                                               const StepData_Factors& theLocalFactors = StepData_Factors(),
                                                const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT const Handle(StepShape_FacetedBrep)& Value() const;
index e4c67e1dfe22e70eb9ad06af5152f8e2a6201c9e..fcf25c7fe76039db7eed441626e48d362508bd00 100644 (file)
@@ -43,7 +43,7 @@ public:
   
   Standard_EXPORT TopoDSToStep_MakeFacetedBrepAndBrepWithVoids(const TopoDS_Solid& S,
                                                                const Handle(Transfer_FinderProcess)& FP,
-                                                               const StepData_Factors& theLocalFactors,
+                                                               const StepData_Factors& theLocalFactors = StepData_Factors(),
                                        const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT const Handle(StepShape_FacetedBrepAndBrepWithVoids)& Value() const;
index a204e82a454748f19cb5e75e51562651cf79f2a9..cdabdfd61d0c82e4479f7f36697a7c7b19fe1b8c 100644 (file)
@@ -39,7 +39,7 @@ public:
   
   Standard_EXPORT TopoDSToStep_MakeGeometricCurveSet(const TopoDS_Shape& SH,
                                                      const Handle(Transfer_FinderProcess)& FP,
-                                                     const StepData_Factors& theLocalFactors);
+                                                     const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepShape_GeometricCurveSet)& Value() const;
 
index 9edb3c59b0651fb8dee556ca51e50686cdb5bf73..05f76c6ce6956c8c90ff0fb7cc3b0422f41b29f2 100644 (file)
@@ -24,7 +24,6 @@
 #include <TopoDSToStep_Root.hxx>
 #include <Message_ProgressRange.hxx>
 
-class StepData_Factors;
 class StepShape_ManifoldSolidBrep;
 class StepVisual_TessellatedItem;
 class TopoDS_Shell;
@@ -45,12 +44,12 @@ public:
   
   Standard_EXPORT TopoDSToStep_MakeManifoldSolidBrep(const TopoDS_Shell& S,
                                                      const Handle(Transfer_FinderProcess)& FP,
-                                                     const StepData_Factors& theLocalFactors,
+                                                     const StepData_Factors& theLocalFactors = StepData_Factors(),
                                                      const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT TopoDSToStep_MakeManifoldSolidBrep(const TopoDS_Solid& S,
                                                      const Handle(Transfer_FinderProcess)& FP,
-                                                     const StepData_Factors& theLocalFactors,
+                                                     const StepData_Factors& theLocalFactors = StepData_Factors(),
                                                      const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT const Handle(StepShape_ManifoldSolidBrep)& Value() const;
index 78971c5e76756e76993eeedac9e188d96189c221..d27251c94108ef086a0c75b055553d57461d0d87 100644 (file)
@@ -45,17 +45,17 @@ public:
   
   Standard_EXPORT TopoDSToStep_MakeShellBasedSurfaceModel(const TopoDS_Face& F,
                                                           const Handle(Transfer_FinderProcess)& FP,
-                                                          const StepData_Factors& theLocalFactors,
+                                                          const StepData_Factors& theLocalFactors = StepData_Factors(),
                                   const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT TopoDSToStep_MakeShellBasedSurfaceModel(const TopoDS_Shell& S,
                                                           const Handle(Transfer_FinderProcess)& FP,
-                                                          const StepData_Factors& theLocalFactors,
+                                                          const StepData_Factors& theLocalFactors = StepData_Factors(),
                                   const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT TopoDSToStep_MakeShellBasedSurfaceModel(const TopoDS_Solid& S,
                                                           const Handle(Transfer_FinderProcess)& FP,
-                                                          const StepData_Factors& theLocalFactors,
+                                                          const StepData_Factors& theLocalFactors = StepData_Factors(),
                                   const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT const Handle(StepShape_ShellBasedSurfaceModel)& Value() const;
index 5b8b2aadc35cf622a461f81fc6f5bf88d4f34ce0..889a2d64d2f6fea4e3887af6cddfb84f291076f4 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <TopoDSToStep_MakeEdgeError.hxx>
 #include <TopoDSToStep_Root.hxx>
-class StepData_Factors;
 class StepShape_TopologicalRepresentationItem;
 class TopoDS_Edge;
 class TopoDSToStep_Tool;
@@ -45,12 +44,12 @@ public:
   Standard_EXPORT TopoDSToStep_MakeStepEdge(const TopoDS_Edge& E,
                                             TopoDSToStep_Tool& T,
                                             const Handle(Transfer_FinderProcess)& FP,
-                                            const StepData_Factors& theLocalFactors);
+                                            const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const TopoDS_Edge& E,
                              TopoDSToStep_Tool& T,
                              const Handle(Transfer_FinderProcess)& FP,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepShape_TopologicalRepresentationItem)& Value() const;
   
index 9a3a8c9e1752839a3ef0a1f0a6c58f2c57eb068e..03ba81f2b53c8f3171692d0b4b795cb13416a806 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <TopoDSToStep_MakeFaceError.hxx>
 #include <TopoDSToStep_Root.hxx>
-class StepData_Factors;
 class StepShape_TopologicalRepresentationItem;
 class TopoDS_Face;
 class TopoDSToStep_Tool;
@@ -45,12 +44,12 @@ public:
   Standard_EXPORT TopoDSToStep_MakeStepFace(const TopoDS_Face& F,
                                             TopoDSToStep_Tool& T,
                                             const Handle(Transfer_FinderProcess)& FP,
-                                            const StepData_Factors& theLocalFactors);
+                                            const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const TopoDS_Face& F,
                              TopoDSToStep_Tool& T,
                              const Handle(Transfer_FinderProcess)& FP,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepShape_TopologicalRepresentationItem)& Value() const;
   
index 08152b0f871b537b321d6f1ef9d41bbe6744a4ff..54fe98d160cefb3a2d18128b582e7ab83a2de182 100644 (file)
@@ -44,12 +44,12 @@ public:
   Standard_EXPORT TopoDSToStep_MakeStepVertex(const TopoDS_Vertex& V,
                                               TopoDSToStep_Tool& T,
                                               const Handle(Transfer_FinderProcess)& FP,
-                                              const StepData_Factors& theLocalFactors);
+                                              const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const TopoDS_Vertex& V,
                              TopoDSToStep_Tool& T,
                              const Handle(Transfer_FinderProcess)& FP,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepShape_TopologicalRepresentationItem)& Value() const;
   
index 2a59599b008e561a5756521393042cb6360ab4d4..8a07277fce34c9b6709a3c9743dc5cc7c0f950e4 100644 (file)
@@ -44,12 +44,12 @@ public:
   Standard_EXPORT TopoDSToStep_MakeStepWire(const TopoDS_Wire& W,
                                             TopoDSToStep_Tool& T,
                                             const Handle(Transfer_FinderProcess)& FP,
-                                            const StepData_Factors& theLocalFactors);
+                                            const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const TopoDS_Wire& W,
                              TopoDSToStep_Tool& T,
                              const Handle(Transfer_FinderProcess)& FP,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT const Handle(StepShape_TopologicalRepresentationItem)& Value() const;
   
index 16936a2ae1b7338551fff16fc40d596c549633af..ad829c8be4f5dbee02c5f854707717bee9bb74eb 100644 (file)
@@ -25,7 +25,6 @@
 #include <TopoDSToStep_BuilderError.hxx>
 #include <TopoDSToStep_Root.hxx>
 #include <MoniTool_DataMapOfShapeTransient.hxx>
-class StepData_Factors;
 class TopoDS_Shape;
 class TopoDSToStep_Tool;
 class Transfer_FinderProcess;
@@ -46,11 +45,11 @@ public:
   
   Standard_EXPORT TopoDSToStep_WireframeBuilder(const TopoDS_Shape& S,
                                                 TopoDSToStep_Tool& T,
-                                                const StepData_Factors& theLocalFactors);
+                                                const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT void Init (const TopoDS_Shape& S,
                              TopoDSToStep_Tool& T,
-                             const StepData_Factors& theLocalFactors);
+                             const StepData_Factors& theLocalFactors = StepData_Factors());
   
   Standard_EXPORT TopoDSToStep_BuilderError Error() const;
   
@@ -62,21 +61,21 @@ public:
                                                             const TopoDS_Face& F,
                                                             MoniTool_DataMapOfShapeTransient& M,
                                                             Handle(TColStd_HSequenceOfTransient)& L,
-                                                            const StepData_Factors& theLocalFactors) const;
+                                                            const StepData_Factors& theLocalFactors = StepData_Factors()) const;
   
   //! Extraction of Trimmed Curves from TopoDS_Face for the
   //! Creation of a GeometricallyBoundedWireframeRepresentation
   Standard_EXPORT Standard_Boolean GetTrimmedCurveFromFace (const TopoDS_Face& F,
                                                             MoniTool_DataMapOfShapeTransient& M,
                                                             Handle(TColStd_HSequenceOfTransient)& L,
-                                                            const StepData_Factors& theLocalFactors) const;
+                                                            const StepData_Factors& theLocalFactors = StepData_Factors()) const;
   
   //! Extraction of Trimmed Curves from any TopoDS_Shape for the
   //! Creation of a GeometricallyBoundedWireframeRepresentation
   Standard_EXPORT Standard_Boolean GetTrimmedCurveFromShape (const TopoDS_Shape& S,
                                                              MoniTool_DataMapOfShapeTransient& M,
                                                              Handle(TColStd_HSequenceOfTransient)& L,
-                                                             const StepData_Factors& theLocalFactors) const;
+                                                             const StepData_Factors& theLocalFactors = StepData_Factors()) const;