Salome HOME
desactive traces
[modules/hydro.git] / src / HYDROData / HYDROData_IInterpolator.cxx
index 72344d9009331b50252b6ccf70e619d4aba93960..4910982d7ca86f398d92f2d12b241dd4c526f147 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <gp_XY.hxx>
 
+//#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
+}