Salome HOME
Save for a list of the local selected points.
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_UtilsICurve.cxx
index d8b5d2ded840c5b2d22643040b3f651e08333681..cc717a08d449fe7f5c91405139f7520976b1a257 100644 (file)
@@ -23,7 +23,7 @@
 
 const double LOCAL_SELECTION_TOLERANCE = 0.0001;
 
-int CurveCreator_UtilsICurve::findLocalPointIndex( CurveCreator_ICurve* theCurve,
+int CurveCreator_UtilsICurve::findLocalPointIndex( const CurveCreator_ICurve* theCurve,
                                              int theSectionId, float theX, float theY )
 {
   int aPntIndex = -1;
@@ -43,7 +43,7 @@ int CurveCreator_UtilsICurve::findLocalPointIndex( CurveCreator_ICurve* theCurve
   return aPntIndex;
 }
 
-void CurveCreator_UtilsICurve::findSectionsToPoints( CurveCreator_ICurve* theCurve,
+void CurveCreator_UtilsICurve::findSectionsToPoints( const CurveCreator_ICurve* theCurve,
                                  const double theX, const double theY,
                                  CurveCreator_ICurve::SectionToPointList& thePoints )
 {