Salome HOME
Fix for the bug #45: check and warning when the same image is used in 2 arguments.
[modules/hydro.git] / src / HYDROPy / HYDROData_ImmersibleZone.sip
index 5346eb3b85dfcab5a17bfb24c98c01dad9e6380e..326dd5cbdbeb9ad62646a69bc0d24bab7b314d0f 100644 (file)
@@ -69,11 +69,11 @@ public:
   /**
    * Sets reference polyline object for zone.
    */
-  void SetPolyline( HYDROData_Polyline thePolyline ) [void (const Handle_HYDROData_Polyline&)];
+  void SetPolyline( HYDROData_PolylineXY thePolyline ) [void (const Handle_HYDROData_PolylineXY&)];
   %MethodCode
 
-    Handle(HYDROData_Polyline) aRefPolyline =
-      Handle(HYDROData_Polyline)::DownCast( createHandle( a0 ) );
+    Handle(HYDROData_PolylineXY) aRefPolyline =
+      Handle(HYDROData_PolylineXY)::DownCast( createHandle( a0 ) );
     if ( !aRefPolyline.IsNull() )
     {
       Py_BEGIN_ALLOW_THREADS
@@ -87,17 +87,17 @@ public:
   /**
    * Returns reference polyline object of zone.
    */
-  HYDROData_Polyline GetPolyline() const [Handle_HYDROData_Polyline ()];
+  HYDROData_PolylineXY GetPolyline() const [Handle_HYDROData_PolylineXY ()];
   %MethodCode
 
-    Handle(HYDROData_Polyline) aRefPolyline;
+    Handle(HYDROData_PolylineXY) aRefPolyline;
     
     Py_BEGIN_ALLOW_THREADS
     aRefPolyline = sipSelfWasArg ? sipCpp->HYDROData_ImmersibleZone::GetPolyline() : 
                                    sipCpp->GetPolyline();
     Py_END_ALLOW_THREADS
     
-    sipRes = (HYDROData_Polyline*)createPointer( aRefPolyline );
+    sipRes = (HYDROData_PolylineXY*)createPointer( aRefPolyline );
   
   %End