Salome HOME
17.12.2013. Added Partition algorithm (draft version).
[modules/hydro.git] / src / HYDROData / HYDROData_ProfileUZ.h
index 3ec8fabcca118782ec206729e4b2436770f17a55..b982a1d8b471dd85dbca96ec7af57ffc43a32709 100644 (file)
@@ -37,6 +37,12 @@ public:
    */
   HYDRODATA_EXPORT virtual TopoDS_Shape GetShape();
 
+  /**
+   * Returns the depth for given distance.
+   */
+  HYDRODATA_EXPORT static double GetDepthFromDistance( const PointsList& thePoints,
+                                                       const double&     theDistance );
+
 
   /**
    * Returns number of sections.