Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
temporary fix to allow compliation, gcc 4.8, not used ?
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_IInterpolator.cxx
diff --git
a/src/HYDROData/HYDROData_IInterpolator.cxx
b/src/HYDROData/HYDROData_IInterpolator.cxx
index 01eea13d5b4bac1013936db3b1e6de297bbd837a..2e3f3e878946b4d7c12b0d5d3f6de32652a7a45d 100644
(file)
--- a/
src/HYDROData/HYDROData_IInterpolator.cxx
+++ b/
src/HYDROData/HYDROData_IInterpolator.cxx
@@
-1,8
+1,4
@@
-// 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
// 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
@@
-24,6
+20,9
@@
#include <gp_XY.hxx>
#include <gp_XY.hxx>
+#define _DEVDEBUG_
+#include "HYDRO_trace.hxx"
+
HYDROData_IInterpolator::HYDROData_IInterpolator()
{
}
HYDROData_IInterpolator::HYDROData_IInterpolator()
{
}
@@
-32,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;
}
{
myAltitudeObject = theAltitude;
}
@@
-43,14
+41,15
@@
Handle(HYDROData_IAltitudeObject) HYDROData_IInterpolator::GetAltitudeObject() c
return myAltitudeObject;
}
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 ) );
}
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() );
return GetAltitudeForPoint( thePoint.X(), thePoint.Y() );
-}
\ No newline at end of file
+}