* \param thePoints new points
*/
void SetPoints( const int theSectionIndex,
- const PointsList& thePoints );
+ const HYDROData_IPolyline::PointsList& thePoints );
/**
* Returns the painter path.
* Replace current profile parametric points by new one.
* \param thePoints the list with new points in parametric form
*/
- void SetParametricPoints( const HYDROData_ProfileUZ::PointsList& thePoints );
+ void SetParametricPoints( const HYDROData_IPolyline::PointsList& thePoints );
/**
* Returns profile points in parametric form.
* \return points list
*/
- HYDROData_ProfileUZ::PointsList GetParametricPoints() const;
+ HYDROData_IPolyline::PointsList GetParametricPoints() const;
/**
#include <HYDROData_ProfileUZ.h>
%End
-class HYDROData_ProfileUZ : HYDROData_IPolyline
+class HYDROData_ProfileUZ : public HYDROData_IPolyline
{
- typedef gp_XY Point;
- typedef NCollection_Sequence<gp_XY> PointsList;
-
%TypeHeaderCode
#include <HYDROData_ProfileUZ.h>
%End
public:
+ /**
+ * Returns the depth for given distance.
+ */
+ static double GetDepthFromDistance( const HYDROData_IPolyline::PointsList& thePoints,
+ const double& theDistance );
+
+
protected:
/**