2 #include "HYDROData_IAltitudeObject.h"
8 #define INVALID_ALTITUDE_VALUE -9999.0
10 IMPLEMENT_STANDARD_HANDLE(HYDROData_IAltitudeObject, HYDROData_Entity)
11 IMPLEMENT_STANDARD_RTTIEXT(HYDROData_IAltitudeObject, HYDROData_Entity)
13 HYDROData_IAltitudeObject::HYDROData_IAltitudeObject()
18 HYDROData_IAltitudeObject::~HYDROData_IAltitudeObject()
22 double HYDROData_IAltitudeObject::GetInvalidAltitude()
24 return INVALID_ALTITUDE_VALUE;
27 double HYDROData_IAltitudeObject::GetAltitudeForPoint( const QPointF& thePoint ) const
29 gp_XY aGpPoint( thePoint.x(), thePoint.y() );
30 return GetAltitudeForPoint( aGpPoint );