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
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_IAltitudeObject.cxx
diff --git
a/src/HYDROData/HYDROData_IAltitudeObject.cxx
b/src/HYDROData/HYDROData_IAltitudeObject.cxx
index 2dc967a5efe2bfca96901cc3906b13d9ffc3a23e..79c11237ba3ed3a0b36d5d2e2ef5143b687df069 100644
(file)
--- a/
src/HYDROData/HYDROData_IAltitudeObject.cxx
+++ b/
src/HYDROData/HYDROData_IAltitudeObject.cxx
@@
-3,8
+3,6
@@
#include <gp_XY.hxx>
#include <gp_XY.hxx>
-#include <QPointF>
-
#define INVALID_ALTITUDE_VALUE -9999.0
IMPLEMENT_STANDARD_HANDLE(HYDROData_IAltitudeObject, HYDROData_Entity)
#define INVALID_ALTITUDE_VALUE -9999.0
IMPLEMENT_STANDARD_HANDLE(HYDROData_IAltitudeObject, HYDROData_Entity)
@@
-24,11
+22,4
@@
double HYDROData_IAltitudeObject::GetInvalidAltitude()
return INVALID_ALTITUDE_VALUE;
}
return INVALID_ALTITUDE_VALUE;
}
-double HYDROData_IAltitudeObject::GetAltitudeForPoint( const QPointF& thePoint ) const
-{
- gp_XY aGpPoint( thePoint.x(), thePoint.y() );
- return GetAltitudeForPoint( aGpPoint );
-}
-
-