X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_UtilsICurve.cxx;h=d11598e257661b781a0191e3ec7694c1a4a22faa;hb=c363fc5c3541669e07cf4d991cc1e94253147ac1;hp=d8b5d2ded840c5b2d22643040b3f651e08333681;hpb=bc94f7ba1f12d74aee550ceae01684f1438bd8ac;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_UtilsICurve.cxx b/src/HYDROCurveCreator/CurveCreator_UtilsICurve.cxx index d8b5d2de..d11598e2 100644 --- a/src/HYDROCurveCreator/CurveCreator_UtilsICurve.cxx +++ b/src/HYDROCurveCreator/CurveCreator_UtilsICurve.cxx @@ -20,10 +20,11 @@ #include "CurveCreator_UtilsICurve.hxx" #include "CurveCreator.hxx" +#include 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 +44,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 ) { @@ -82,7 +83,7 @@ void CurveCreator_UtilsICurve::convert( const CurveCreator_ICurve::SectionToPoin } } -#include "CurveCreator_Curve.hxx" +#include "CurveCreator_Curve.hxx" // TODO void CurveCreator_UtilsICurve::getPoint( const CurveCreator_ICurve* theCurve, const int theISection, const int theIPoint, gp_Pnt& thePoint ) {