Salome HOME
Dump to python corrected.
[modules/hydro.git] / src / HYDROData / HYDROData_ProfileUZ.h
index 3ec8fabcca118782ec206729e4b2436770f17a55..e948b4d323c733cc0e806bea88c3188126eef1fe 100644 (file)
@@ -30,12 +30,23 @@ public:
    */
   HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_PROFILEUZ;}
 
+  /**
+   * Dump object to Python script representation.
+   */
+  HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+
 public:
 
   /**
    * Returns the 3D presentation of all points.
    */
-  HYDRODATA_EXPORT virtual TopoDS_Shape GetShape();
+  HYDRODATA_EXPORT virtual TopoDS_Shape GetShape() const;
+
+  /**
+   * Returns the depth for given distance.
+   */
+  HYDRODATA_EXPORT static double GetDepthFromDistance( const PointsList& thePoints,
+                                                       const double&     theDistance );
 
 
   /**