-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015 EDF-R&D
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
#include <gp_XY.hxx>
+#define _DEVDEBUG_
+#include "HYDRO_trace.hxx"
+
HYDROData_IInterpolator::HYDROData_IInterpolator()
{
}
{
}
-void HYDROData_IInterpolator::SetAltitudeObject(
- const Handle(HYDROData_IAltitudeObject)& theAltitude )
+void HYDROData_IInterpolator::SetAltitudeObject( const Handle(HYDROData_IAltitudeObject)& theAltitude )
{
myAltitudeObject = theAltitude;
}
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
+}