Salome HOME
refs #1330: basic implementation of the not zoomable polyline arrows
[modules/hydro.git] / src / HYDROData / HYDROData_ChannelAltitude.h
index 695f855ece914d3cfcd4daf4101d1737c5ce1323..d65582e5f4d0976c20fecaca9a70ccd6506bf902 100644 (file)
 
 #include "HYDROData_IAltitudeObject.h"
 
-#define _DEVDEBUG_
-#include "HYDRO_trace.hxx"
-
-
-DEFINE_STANDARD_HANDLE(HYDROData_ChannelAltitude, HYDROData_IAltitudeObject)
 
 
 /**\class HYDROData_ChannelAltitude
@@ -47,12 +42,12 @@ protected:
 
 public:
 
-  DEFINE_STANDARD_RTTI(HYDROData_ChannelAltitude);
+  DEFINE_STANDARD_RTTIEXT(HYDROData_ChannelAltitude, HYDROData_IAltitudeObject);
 
   /**
    * Returns the kind of this object. 
    */
-  HYDRODATA_EXPORT virtual const ObjectKind GetKind() const { DEBTRACE("GetKind"); return KIND_CHANNEL_ALTITUDE; }
+  HYDRODATA_EXPORT virtual const ObjectKind GetKind() const { return KIND_CHANNEL_ALTITUDE; }
 
 public:      
 
@@ -63,7 +58,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: