X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROPy%2FHYDROData_ProfileUZ.sip;h=a2090420ce06f072379b8b3498b98b218130207c;hb=3a1dd3f29ff9b985b0aa2366a2afd5724286cb6e;hp=bb31535a868d2b33ff2bcacc8a2c3750c29fb3e3;hpb=d84fadb6fba0d9ef3926995eab878175cc24e291;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_ProfileUZ.sip b/src/HYDROPy/HYDROData_ProfileUZ.sip index bb31535a..a2090420 100644 --- a/src/HYDROPy/HYDROData_ProfileUZ.sip +++ b/src/HYDROPy/HYDROData_ProfileUZ.sip @@ -1,12 +1,8 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE -// -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// +// Copyright (C) 2014-2015 EDF-R&D // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -24,7 +20,7 @@ #include %End -class HYDROData_ProfileUZ : HYDROData_IPolyline +class HYDROData_ProfileUZ : public HYDROData_IPolyline { %TypeHeaderCode @@ -46,6 +42,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: /**