Salome HOME
refs #653, #665 - 669: start implementation of features.
[modules/hydro.git] / src / HYDROData / HYDROData_PolylineXY.h
index ef7101048ef76aa9f003a624c8a0eb7d01908c3b..57ff8cadb614bc2054971431ea672e2cbae36f6c 100644 (file)
@@ -27,6 +27,7 @@ class QPainterPath;
 class QTransform;
 class TopoDS_Wire;
 class gp_XYZ;
+class gp_Pnt;
 
 /**\class HYDROData_PolylineXY
  * \brief Class that stores/retreives information about the 
@@ -82,6 +83,8 @@ public:
    */
   HYDRODATA_EXPORT static QColor DefaultWireColor();
 
+  HYDRODATA_EXPORT bool IsCustom() const;
+
 public:
 
   /**
@@ -121,17 +124,11 @@ public:
 
 public:
 
-  /**
-   * Returns the 2D presentation of all points.
-   */
-  HYDRODATA_EXPORT virtual TopoDS_Shape GetShape() const;
-
   /**
    * Returns the 3D presentation of all points.
    */
   HYDRODATA_EXPORT virtual bool ImportShape( const TopoDS_Shape& theShape );
 
-
   /**
    * Returns flag indicating that polyline can be edited or not.
    */
@@ -277,7 +274,7 @@ 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;
 
 
   /**