Salome HOME
Lot 2: change bathy associated to natural object propagated to all cases without...
[modules/hydro.git] / src / HYDROData / HYDROData_ProfileUZ.h
index 62a5c14ef3fe98c95fade9ddf868630f1d3a7197..7e889c6b6978af19896fc62015683d941a8d43ce 100644 (file)
@@ -21,7 +21,8 @@
 
 #include "HYDROData_IPolyline.h"
 
-DEFINE_STANDARD_HANDLE(HYDROData_ProfileUZ, HYDROData_IPolyline)
+class gp_XYZ;
+class HYDROData_PolylineXY;
 
 /**\class HYDROData_ProfileUZ
  * \brief Class that stores/retreives information about the 
@@ -39,7 +40,7 @@ protected:
   };
 
 public:
-  DEFINE_STANDARD_RTTI(HYDROData_ProfileUZ);
+  DEFINE_STANDARD_RTTIEXT(HYDROData_ProfileUZ, HYDROData_IPolyline);
 
 
   /**
@@ -165,7 +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<gp_XYZ>& theXYZPoints,
+     Handle(HYDROData_PolylineXY)& thePolylineXY, bool fillPolyXY);
 
 protected: