Salome HOME
Merge branch 'BR_H2018_3' into BR_2018_V8_5
[modules/hydro.git] / src / HYDROPy / HYDROData_Stream.sip
index 7963b776caa4dc2310a23d4932d4db6a620f302f..cb233c5c8f03c41143c9cc5766f7dbae654ecdca 100644 (file)
@@ -40,8 +40,8 @@ public:
   /**
    * Returns true if given polyline can be used as stream axis.
    */
-  static bool IsValidAsAxis( HYDROData_PolylineXY theAxis ) 
-  [bool ( const opencascade::handle<HYDROData_PolylineXY>& )];
+  static bool IsValidAsAxis( HYDROData_PolylineXY theAxis )
+  [bool ( const Handle_HYDROData_PolylineXY& )];
   %MethodCode
     Handle(HYDROData_PolylineXY) aRef =
       Handle(HYDROData_PolylineXY)::DownCast( createHandle( a0 ) );
@@ -53,7 +53,7 @@ public:
     }
   %End
 
-public:      
+public:
   // Public methods to work with Stream data fields
 
   /**
@@ -80,12 +80,12 @@ public:
   [opencascade::handle<HYDROData_PolylineXY> ()];
   %MethodCode
     Handle(HYDROData_PolylineXY) aRef;
-    
+
     Py_BEGIN_ALLOW_THREADS
-    aRef = sipSelfWasArg ? sipCpp->HYDROData_Stream::GetHydraulicAxis() : 
+    aRef = sipSelfWasArg ? sipCpp->HYDROData_Stream::GetHydraulicAxis() :
                            sipCpp->GetHydraulicAxis();
     Py_END_ALLOW_THREADS
-    
+
     sipRes = (HYDROData_PolylineXY*)createPointer( aRef );
   %End
 
@@ -150,15 +150,15 @@ public:
   [opencascade::handle<HYDROData_Polyline3D> ()];
   %MethodCode
     Handle(HYDROData_Polyline3D) aRef;
-    
+
     Py_BEGIN_ALLOW_THREADS
-    aRef = sipSelfWasArg ? sipCpp->HYDROData_Stream::GetBottomPolyline() : 
+    aRef = sipSelfWasArg ? sipCpp->HYDROData_Stream::GetBottomPolyline() :
                            sipCpp->GetBottomPolyline();
     Py_END_ALLOW_THREADS
-    
+
     sipRes = (HYDROData_Polyline3D*)createPointer( aRef );
   %End
-  
+
   /**
    * Sets reference bottom polyline object for stream.
    */
@@ -183,9 +183,19 @@ public:
    */
   virtual bool Interpolate( HYDROData_IProfilesInterpolator* theInterpolator );
 
+  /**
+   * Set vertical slicing step for profiles interpolation.
+   */
+  void   SetDDZ( double theDDZ );
+
+  /**
+   * Set horizontal step for profiles interpolation.
+   */
+  void   SetSpatialStep( double theSpatialStep );
+
 protected:
   /**
-   * Creates new object in the internal data structure. Use higher level objects 
+   * Creates new object in the internal data structure. Use higher level objects
    * to create objects with real content.
    */
   HYDROData_Stream();