Salome HOME
Refs #289 - Spline profile is represented in OCC view as polyline profile
[modules/hydro.git] / src / HYDROData / HYDROData_ProfileUZ.h
index 3ec8fabcca118782ec206729e4b2436770f17a55..0e1dcd0d54892d29908675717db31e13894cb624 100644 (file)
@@ -35,7 +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 depth for given distance.
+   */
+  HYDRODATA_EXPORT static double GetDepthFromDistance( const PointsList& thePoints,
+                                                       const double&     theDistance );
 
 
   /**