+ /**
+ * Dump object to Python script representation.
+ */
+ 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();
+
+ /**
+ * Returns default wire color for new polyline.
+ */
+ HYDRODATA_EXPORT static QColor DefaultWireColor();
+
+public:
+
+ /**
+ * Returns the presentation of polyline section in CAS maner.
+ */
+ HYDRODATA_EXPORT static TopoDS_Wire BuildWire( const SectionType& theType,
+ const bool& theIsClosed,
+ const NCollection_Sequence<gp_XYZ>& thePoints );
+
+ /**
+ * Returns the presentation of polyline section in Qt maner.
+ */
+ HYDRODATA_EXPORT static void BuildPainterPath( QPainterPath& thePath,
+ const SectionType& theType,
+ const bool& theIsClosed,
+ const NCollection_Sequence<gp_XYZ>& thePoints );