Salome HOME
Tests for Bathymetry object.
[modules/hydro.git] / src / HYDROPy / HYDROData_Polyline.sip
index f3b5c582d68390eadfbfb285c22a9acf37456f5f..d0a8b1ce5a6a3c96025f35c7805dce5e77d58048 100644 (file)
@@ -69,6 +69,10 @@ class HYDROData_Polyline : HYDROData_Object
       sipClass = NULL;
 %End
 
+public:
+
+  typedef QList<PolylineSection> PolylineData;
+
 public:
 
   const ObjectKind          GetKind() const;
@@ -79,13 +83,13 @@ public:
    * Replace current polyline data by new sections list
    * \param theSections the sections list
    */
-  void setPolylineData( const QList<PolylineSection>& theSections );
+  void setPolylineData( const PolylineData& theSections );
 
   /**
    * Return polyline data
    * \return polyline section list
    */
-  QList<PolylineSection> getPolylineData();
+  PolylineData getPolylineData();
    
   /**
    * Return polyline dimension