X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_IInterpolator.cxx;h=80e11a20c3b83c155fb2a561f5312a3bad5f783f;hb=bfb47f35b807312281b69a52494b9147c22759dd;hp=72344d9009331b50252b6ccf70e619d4aba93960;hpb=2cf9e838e652ae811d9b3931914771ad1836c6b8;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_IInterpolator.cxx b/src/HYDROData/HYDROData_IInterpolator.cxx index 72344d90..80e11a20 100644 --- a/src/HYDROData/HYDROData_IInterpolator.cxx +++ b/src/HYDROData/HYDROData_IInterpolator.cxx @@ -28,8 +28,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,8 +38,7 @@ 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 { return myAltitudeObject.IsNull() ? HYDROData_IAltitudeObject::GetInvalidAltitude() : myAltitudeObject->GetAltitudeForPoint( gp_XY( theCoordX, theCoordY ) ); @@ -49,4 +47,4 @@ double HYDROData_IInterpolator::GetAltitudeForPoint( double HYDROData_IInterpolator::GetAltitudeForPoint( const gp_XY& thePoint ) const { return GetAltitudeForPoint( thePoint.X(), thePoint.Y() ); -} \ No newline at end of file +}