Salome HOME
The first implementation of drag and drop + dialog buttons icons and translations.
[modules/hydro.git] / src / HYDROPy / HYDROData_ProfileUZ.sip
index bb31535a868d2b33ff2bcacc8a2c3750c29fb3e3..2e6f244e5209dcc6b2f723ef1235808f5e8c1a0f 100644 (file)
@@ -24,7 +24,7 @@
 #include <HYDROData_ProfileUZ.h>
 %End
 
-class HYDROData_ProfileUZ : HYDROData_IPolyline
+class HYDROData_ProfileUZ : public HYDROData_IPolyline
 {
 
 %TypeHeaderCode
@@ -46,6 +46,13 @@ class HYDROData_ProfileUZ : HYDROData_IPolyline
 
 public:      
 
+  /**
+   * Returns the depth for given distance.
+   */
+  static double GetDepthFromDistance( const HYDROData_IPolyline::PointsList& thePoints,
+                                      const double&     theDistance );
+
+
 protected:
 
   /**