X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_ProfileUZ.h;h=7e889c6b6978af19896fc62015683d941a8d43ce;hb=HEAD;hp=fd543f0723745efbb7263fcd9cca01da943e39a6;hpb=df3470544e7f6ee312e7c2967b965ab4227f56e5;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_ProfileUZ.h b/src/HYDROData/HYDROData_ProfileUZ.h index fd543f07..7e889c6b 100644 --- a/src/HYDROData/HYDROData_ProfileUZ.h +++ b/src/HYDROData/HYDROData_ProfileUZ.h @@ -21,10 +21,8 @@ #include "HYDROData_IPolyline.h" -DEFINE_STANDARD_HANDLE(HYDROData_ProfileUZ, HYDROData_IPolyline) - class gp_XYZ; -class Handle_HYDROData_PolylineXY; +class HYDROData_PolylineXY; /**\class HYDROData_ProfileUZ * \brief Class that stores/retreives information about the @@ -42,7 +40,7 @@ protected: }; public: - DEFINE_STANDARD_RTTI(HYDROData_ProfileUZ); + DEFINE_STANDARD_RTTIEXT(HYDROData_ProfileUZ, HYDROData_IPolyline); /** @@ -168,9 +166,10 @@ public: * only for section with this index * \return list of points */ - HYDRODATA_EXPORT virtual PointsList GetPoints( const int theSectionIndex = -1 ) const; + HYDRODATA_EXPORT virtual PointsList GetPoints( const int theSectionIndex = -1, bool IsConvertToGlobal = false ) const; - HYDRODATA_EXPORT virtual void CalculateAndAddPoints(const NCollection_Sequence& theXYZPoints, Handle_HYDROData_PolylineXY& thePolylineXY); + HYDRODATA_EXPORT virtual void CalculateAndAddPoints(const NCollection_Sequence& theXYZPoints, + Handle(HYDROData_PolylineXY)& thePolylineXY, bool fillPolyXY); protected: