/**
* Returns the presentation of polyline section in Qt maner.
*/
- HYDRODATA_EXPORT static QPainterPath BuildPainterPath( const SectionType& theType,
- const bool& theIsClosed,
- const NCollection_Sequence<gp_XYZ>& thePoints );
+ HYDRODATA_EXPORT static void BuildPainterPath( QPainterPath& thePath,
+ const SectionType& theType,
+ const bool& theIsClosed,
+ const NCollection_Sequence<gp_XYZ>& thePoints );
public: