Salome HOME
17.12.2013. Added Partition algorithm (draft version).
[modules/hydro.git] / src / HYDROData / HYDROData_ProfileUZ.h
index c485e944b5bc20a0f1861b368fe1e7bf81daa628..b982a1d8b471dd85dbca96ec7af57ffc43a32709 100644 (file)
@@ -38,9 +38,10 @@ public:
   HYDRODATA_EXPORT virtual TopoDS_Shape GetShape();
 
   /**
-   * Returns the 3D presentation of all points.
+   * Returns the depth for given distance.
    */
-  HYDRODATA_EXPORT virtual double GetDepthFromDistance( const double& theDistance ) const;
+  HYDRODATA_EXPORT static double GetDepthFromDistance( const PointsList& thePoints,
+                                                       const double&     theDistance );
 
 
   /**