X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_IInterpolator.cxx;h=2e3f3e878946b4d7c12b0d5d3f6de32652a7a45d;hb=e7e76450be3fadf6ad263f78e10ceb8cd1f70deb;hp=d80375117dc2980e87e16b794710a609c3649610;hpb=ee1c932d8b5c0c95cc8a275fe26dd2457d7b979e;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_IInterpolator.cxx b/src/HYDROData/HYDROData_IInterpolator.cxx index d8037511..2e3f3e87 100644 --- a/src/HYDROData/HYDROData_IInterpolator.cxx +++ b/src/HYDROData/HYDROData_IInterpolator.cxx @@ -31,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; } @@ -42,15 +41,14 @@ 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() );