Salome HOME
Minor changes.
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_UtilsICurve.hxx
index 9681552e663fae1dffef0dcff369b0e627c747e0..96b4e454ba76d7e104dfa0d39e36a9081f547056 100644 (file)
@@ -24,6 +24,8 @@
 
 #include "CurveCreator_ICurve.hxx"
 
+#include <gp_Pnt.hxx>
+
 #include <QMap>
 #include <QList>
 
@@ -36,10 +38,10 @@ public:
    * \param theX the X coordinate of the point
    * \param theY the Y coordinate of the point
    */
-  CURVECREATOR_EXPORT static int  findLocalPointIndex( CurveCreator_ICurve* theCurve,
+  CURVECREATOR_EXPORT static int  findLocalPointIndex( const CurveCreator_ICurve* theCurve,
                                           int theSectionId, float theX, float theY );
 
-  CURVECREATOR_EXPORT static void findSectionsToPoints( CurveCreator_ICurve* theCurve,
+  CURVECREATOR_EXPORT static void findSectionsToPoints( const CurveCreator_ICurve* theCurve,
                                           const double theX, const double theY,
                                           CurveCreator_ICurve::SectionToPointList& thePoints );
   CURVECREATOR_EXPORT static void convert( const CurveCreator_ICurve::SectionToPointList& thePoints,