+ HYDRODATA_EXPORT virtual void SetPoints( const int theSectionIndex,
+ const PointsList& thePoints );
+
+ /**
+ * Removes point from section with index "theSectionIndex".
+ * \param theSectionIndex index of section
+ * \param thePointIndex index of point
+ */
+ HYDRODATA_EXPORT virtual void RemovePoint( const int theSectionIndex,
+ const int thePointIndex );
+
+
+ /**
+ * Returns list of points.
+ * \param theSectionIndex if not equal -1 then list of points returned
+ * only for section with this index
+ * \return list of points
+ */
+ HYDRODATA_EXPORT virtual PointsList GetPoints( const int theSectionIndex = -1, bool IsConvertToGlobal = false ) const;
+
+
+ /**
+ * Returns the painter path.
+ * Note: currently only the first section of the polyline data is taken into account.
+ * \return polyline painter path.
+ */
+ HYDRODATA_EXPORT virtual QPainterPath GetPainterPath() const;
+
+ /**
+ * Transform the polyline points.
+ * @param theTrsf the transformation
+ */
+ HYDRODATA_EXPORT void Transform( const QTransform& theTrsf );
+
+protected:
+
+ /**
+ * Sets the flag indicating that polyline can be edited or not.
+ */
+ HYDRODATA_EXPORT virtual void setEditable( const bool theIsEditable );
+
+ HYDRODATA_EXPORT void Interpolate();