X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_IInterpolator.cxx;h=2e3f3e878946b4d7c12b0d5d3f6de32652a7a45d;hb=6bcda532ec67940d5c53e70df3b7912a09208c1c;hp=72344d9009331b50252b6ccf70e619d4aba93960;hpb=f0688b4c39fcc3e49c2b58a90724b9c1c84f1337;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_IInterpolator.cxx b/src/HYDROData/HYDROData_IInterpolator.cxx index 72344d90..2e3f3e87 100644 --- a/src/HYDROData/HYDROData_IInterpolator.cxx +++ b/src/HYDROData/HYDROData_IInterpolator.cxx @@ -20,6 +20,9 @@ #include +#define _DEVDEBUG_ +#include "HYDRO_trace.hxx" + HYDROData_IInterpolator::HYDROData_IInterpolator() { } @@ -28,8 +31,7 @@ HYDROData_IInterpolator::~HYDROData_IInterpolator() { } -void HYDROData_IInterpolator::SetAltitudeObject( - const Handle(HYDROData_IAltitudeObject)& theAltitude ) +void HYDROData_IInterpolator::SetAltitudeObject( const Handle(HYDROData_IAltitudeObject)& theAltitude ) { myAltitudeObject = theAltitude; } @@ -39,14 +41,15 @@ Handle(HYDROData_IAltitudeObject) HYDROData_IInterpolator::GetAltitudeObject() c return myAltitudeObject; } -double HYDROData_IInterpolator::GetAltitudeForPoint( - const double theCoordX, const double theCoordY ) const +double HYDROData_IInterpolator::GetAltitudeForPoint( const double theCoordX, const double theCoordY ) const { + DEBTRACE("HYDROData_IInterpolator::GetAltitudeForPoint"); return myAltitudeObject.IsNull() ? HYDROData_IAltitudeObject::GetInvalidAltitude() : myAltitudeObject->GetAltitudeForPoint( gp_XY( theCoordX, theCoordY ) ); } -double HYDROData_IInterpolator::GetAltitudeForPoint( const gp_XY& thePoint ) const +double HYDROData_IInterpolator::GetAltitudeForPoint( const gp_XY& thePoint) const { + DEBTRACE("HYDROData_IInterpolator::GetAltitudeForPoint"); return GetAltitudeForPoint( thePoint.X(), thePoint.Y() ); -} \ No newline at end of file +}