Salome HOME
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git] / src / HYDROData / HYDROData_StreamAltitude.h
index 4304545dc0a6d35ca51b3e3d597d36b1eed120e7..53d1e09535c7e8ec2eaf2aa19bd2e0fbeadade3d 100644 (file)
@@ -5,6 +5,7 @@
 
 #include "HYDROData_IAltitudeObject.h"
 
+class Handle(HYDROData_Profile);
 
 DEFINE_STANDARD_HANDLE(HYDROData_StreamAltitude, HYDROData_IAltitudeObject)
 
@@ -34,12 +35,6 @@ public:
    */
   HYDRODATA_EXPORT virtual const ObjectKind GetKind() const { return KIND_STREAM_ALTITUDE; }
 
-
-  /**
-   * Dump Altitude object to Python script representation.
-   */
-  HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
-
 public:      
 
   // Public methods to work with altitudes.
@@ -51,6 +46,12 @@ public:
    */
   HYDRODATA_EXPORT virtual double           GetAltitudeForPoint( const gp_XY& thePoint ) const;
 
+protected:
+
+  bool getBoundaryProfilesForPoint( const gp_XY&               thePoint,
+                                    Handle(HYDROData_Profile)& theLeftProfile,
+                                    Handle(HYDROData_Profile)& theRightProfile ) const;
+
 protected:
 
   friend class HYDROData_Iterator;