Salome HOME
Drawing of zones in OCC view improved.
[modules/hydro.git] / src / HYDROData / HYDROData_Polyline.h
index cd7928c873029e6f2cec984367a9675370ece2ba..3906ac5321178f2b6b58676ff6162be212056750 100755 (executable)
@@ -79,6 +79,11 @@ public:
    */
   HYDRODATA_EXPORT PolylineData getPolylineData() const;
    
+  /**
+   * Returns true if polyline is closed
+   */
+  HYDRODATA_EXPORT bool isClosed() const;
+
   /**
    * Return polyline dimension
    * \return polyline dimension (2 or 3)
@@ -100,7 +105,7 @@ public:
   /**
    * Returns the painter path. The painter path is construct by lines
    */
-  HYDRODATA_EXPORT QPainterPath painterPath();
+  HYDRODATA_EXPORT QPainterPath painterPath() const;
 
 
 protected: