X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROPy%2FHYDROData_ProfileUZ.sip;h=2e6f244e5209dcc6b2f723ef1235808f5e8c1a0f;hb=aef25fd825d5add8a8cc2cdf43db3f24e5d4a90f;hp=f46209bd8161666feb73555c6cfb9cf11f2ef8b5;hpb=697a6aa753b5cca692ca982a10662a674c34658a;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_ProfileUZ.sip b/src/HYDROPy/HYDROData_ProfileUZ.sip index f46209bd..2e6f244e 100644 --- a/src/HYDROPy/HYDROData_ProfileUZ.sip +++ b/src/HYDROPy/HYDROData_ProfileUZ.sip @@ -24,12 +24,9 @@ #include %End -class HYDROData_ProfileUZ : HYDROData_IPolyline +class HYDROData_ProfileUZ : public HYDROData_IPolyline { - typedef gp_XY Point; - typedef NCollection_Sequence PointsList; - %TypeHeaderCode #include %End @@ -49,6 +46,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: /**