From: adv Date: Fri, 30 Aug 2013 11:06:23 +0000 (+0000) Subject: Access to 'Invalid value' of altitude from Bathymetry is added. X-Git-Tag: BR_hydro_v_0_1~89 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a9809a049bc84242310991d410fb8a43fd4bb116;p=modules%2Fhydro.git Access to 'Invalid value' of altitude from Bathymetry is added. --- diff --git a/src/HYDROData/HYDROData_Bathymetry.cxx b/src/HYDROData/HYDROData_Bathymetry.cxx index afbb8d04..7da61f70 100644 --- a/src/HYDROData/HYDROData_Bathymetry.cxx +++ b/src/HYDROData/HYDROData_Bathymetry.cxx @@ -27,6 +27,11 @@ HYDROData_Bathymetry::~HYDROData_Bathymetry() { } +double HYDROData_Bathymetry::GetInvalidAltitude() +{ + return INVALID_ALTITUDE_VALUE; +} + void HYDROData_Bathymetry::SetAltitudePoints( const AltitudePoints& thePoints ) { RemoveAltitudePoints(); diff --git a/src/HYDROData/HYDROData_Bathymetry.h b/src/HYDROData/HYDROData_Bathymetry.h index 6167d3f2..d14110f8 100644 --- a/src/HYDROData/HYDROData_Bathymetry.h +++ b/src/HYDROData/HYDROData_Bathymetry.h @@ -48,6 +48,12 @@ public: public: // Public methods to work with Bathymetry altitudes. + /** + * Returns altitude points list. + * \return points list + */ + HYDRODATA_EXPORT static double GetInvalidAltitude(); + /** * Replace current altitude points by new one. * \param thePoints the altitude points list