Salome HOME
Bug #478: unresolved conflicts appear again when Edit calculation case in Manual...
[modules/hydro.git] / src / HYDROPy / HYDROData_ProfileUZ.sip
index f46209bd8161666feb73555c6cfb9cf11f2ef8b5..2e6f244e5209dcc6b2f723ef1235808f5e8c1a0f 100644 (file)
 #include <HYDROData_ProfileUZ.h>
 %End
 
-class HYDROData_ProfileUZ : HYDROData_IPolyline
+class HYDROData_ProfileUZ : public HYDROData_IPolyline
 {
 
-  typedef gp_XY                       Point;
-  typedef NCollection_Sequence<gp_XY> PointsList;
-
 %TypeHeaderCode
 #include <HYDROData_ProfileUZ.h>
 %End
@@ -49,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:
 
   /**