Salome HOME
Get altitude from region implementation.
[modules/hydro.git] / src / HYDROData / HYDROData_ProfileUZ.h
index c485e944b5bc20a0f1861b368fe1e7bf81daa628..0e1dcd0d54892d29908675717db31e13894cb624 100644 (file)
@@ -35,12 +35,13 @@ public:
   /**
    * Returns the 3D presentation of all points.
    */
-  HYDRODATA_EXPORT virtual TopoDS_Shape GetShape();
+  HYDRODATA_EXPORT virtual TopoDS_Shape GetShape() const;
 
   /**
-   * 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 );
 
 
   /**