Salome HOME
NCollection sequences improved.
[modules/hydro.git] / src / HYDROPy / HYDROData_IAltitudeObject.sip
index f8129addc7b61b48e9319e7b2c4154dd0ab7384e..0dc512a0fb3bc2c69753dd13ce7177ed6791a153 100644 (file)
@@ -34,6 +34,14 @@ class HYDROData_IAltitudeObject : HYDROData_Entity /Abstract/
         sipClass = sipClass_HYDROData_Bathymetry;
         break;
 
+      case KIND_OBSTACLE_ALTITUDE:
+        sipClass = sipClass_HYDROData_ObstacleAltitude;
+        break;
+
+      case KIND_ALTITUDE:
+        sipClass = sipClass_HYDROData_AltitudeObject;
+        break;
+      
       default:
         // We don't recognise the type.
         sipClass = NULL;
@@ -53,6 +61,13 @@ public:
    */
   static double             GetInvalidAltitude();
 
+  /**
+   * Returns altitude for given point.
+   * \param thePoint the point to examine
+   * \return altitude value
+   */
+  virtual double           GetAltitudeForPoint( const gp_XY& thePoint ) const = 0;
+
 protected:
 
   /**