X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_ProfileUZ.h;h=2fcb3899a9d1595eeac31b94abe5c4a967360077;hb=bd81def133c235351f4c18834c6660450f16b9ee;hp=fd543f0723745efbb7263fcd9cca01da943e39a6;hpb=27b1abdc88719c5bce7a8d2f49612cd155e80d21;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_ProfileUZ.h b/src/HYDROData/HYDROData_ProfileUZ.h index fd543f07..2fcb3899 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); protected: