Salome HOME
NCollection sequences improved.
[modules/hydro.git] / src / HYDROPy / HYDROData_IAltitudeObject.sip
index 66c176ae51e13e479d07d3122dce0a02243c19b2..0dc512a0fb3bc2c69753dd13ce7177ed6791a153 100644 (file)
@@ -38,6 +38,10 @@ class HYDROData_IAltitudeObject : HYDROData_Entity /Abstract/
         sipClass = sipClass_HYDROData_ObstacleAltitude;
         break;
 
+      case KIND_ALTITUDE:
+        sipClass = sipClass_HYDROData_AltitudeObject;
+        break;
+      
       default:
         // We don't recognise the type.
         sipClass = NULL;
@@ -57,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:
 
   /**