*/
HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+ /**
+ * Returns data of object wrapped to QVariant.
+ * Reimplemented to wrap and return saved path.
+ */
+ HYDRODATA_EXPORT virtual QVariant GetDataVariant();
+
/**
* Replace current polyline data by new sections list
* \param theSections the sections list
*/
HYDRODATA_EXPORT PolylineData getPolylineData() const;
+ /**
+ * Returns true if polyline is closed
+ */
+ HYDRODATA_EXPORT bool isClosed() const;
+
/**
* Return polyline dimension
* \return polyline dimension (2 or 3)
/**
* Returns the painter path. The painter path is construct by lines
*/
- HYDRODATA_EXPORT QPainterPath painterPath();
+ HYDRODATA_EXPORT QPainterPath painterPath() const;
protected: