]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Access to 'Invalid value' of altitude from Bathymetry is added.
authoradv <adv@opencascade.com>
Fri, 30 Aug 2013 11:06:23 +0000 (11:06 +0000)
committeradv <adv@opencascade.com>
Fri, 30 Aug 2013 11:06:23 +0000 (11:06 +0000)
src/HYDROData/HYDROData_Bathymetry.cxx
src/HYDROData/HYDROData_Bathymetry.h

index afbb8d0460dee0cd24be5ed88fd06f0e98fda951..7da61f7089c0795b2c0a557e2a9c150065cd6461 100644 (file)
@@ -27,6 +27,11 @@ HYDROData_Bathymetry::~HYDROData_Bathymetry()
 {
 }
 
+double HYDROData_Bathymetry::GetInvalidAltitude()
+{
+  return INVALID_ALTITUDE_VALUE;
+}
+
 void HYDROData_Bathymetry::SetAltitudePoints( const AltitudePoints& thePoints )
 {
   RemoveAltitudePoints();
index 6167d3f227c0ec088fadfc5471b0bcbc693f424b..d14110f828cad3536b02167efe9ac3f0d4cdbc3c 100644 (file)
@@ -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