Salome HOME
Merge branch 'BR_PORTING_OCCT_7' of ssh://git.salome-platform.org/modules/hydro into...
[modules/hydro.git] / src / HYDROData / HYDROData_StreamAltitude.h
index 02cbc3083d42ed54036a3aecd0fe171fe3bd7c91..25bd528e3429abd63cd6ec31883a16dea0317db1 100644 (file)
@@ -23,8 +23,6 @@
 #include "HYDROData_IAltitudeObject.h"
 
 
-DEFINE_STANDARD_HANDLE(HYDROData_StreamAltitude, HYDROData_IAltitudeObject)
-
 class TopoDS_Wire;
 
 /**\class HYDROData_StreamAltitude
@@ -45,7 +43,7 @@ protected:
 
 public:
 
-  DEFINE_STANDARD_RTTI(HYDROData_StreamAltitude);
+  DEFINE_STANDARD_RTTIEXT(HYDROData_StreamAltitude, HYDROData_IAltitudeObject);
 
   /**
    * Returns the kind of this object. 
@@ -61,7 +59,8 @@ public:
    * \param thePoint the point to examine
    * \return altitude value
    */
-  HYDRODATA_EXPORT virtual double           GetAltitudeForPoint( const gp_XY& thePoint ) const;
+  HYDRODATA_EXPORT virtual double           GetAltitudeForPoint( const gp_XY& thePoint,
+                                                                 int theMethod = 0) const;
 
 protected: