Salome HOME
Initial merge of branch 'BR_HYDRO_IMPS_2016' into BR_PORTING_OCCT_7
[modules/hydro.git] / src / HYDROData / HYDROData_PolylineOperator.h
index 4263370dec1c4b110091d80304bddee87c9ff25a..6fea45128c56f22ef759fda3f9ccfaa00cd0d1d0 100644 (file)
@@ -24,9 +24,9 @@
 #include <gp_Pnt2d.hxx>
 #include <vector>
 
-class Handle( HYDROData_Document );
+class HYDROData_Document;
 class HYDROData_TopoCurve;
-class Handle(HYDROData_Object);
+class HYDROData_Object;
 
 class HYDRODATA_EXPORT HYDROData_PolylineOperator
 {
@@ -59,7 +59,7 @@ public:
   //! the middle deflection is more than the required deflection and
   //! more than the half of the maximal middle deflection.
   //! Returns the initial maximal middle deflection.
-  //! Returns a negative value in the case of any erorr.
+  //! Returns a negative value in the case of any error.
   static double ReduceDeflection(
     const double theDeflection,
     HYDROData_TopoCurve& theCurve,
@@ -83,7 +83,7 @@ protected:
     std::vector<TopoDS_Shape>& theWires);
 
   static bool CreatePolylines( const Handle( HYDROData_Document )& theDoc,
-                               const QString& theNamePrefix,
+                               const Handle( HYDROData_PolylineXY )& theOldPolyline,
                                const std::vector<TopoDS_Shape>& theShape,
                                bool isUseIndices );
 };