+
+ /**
+ * Sets reference bottom polyline object for stream.
+ */
+ bool SetBottomPolyline( HYDROData_Polyline3D theBottom )
+ [bool ( const opencascade::handle<HYDROData_Polyline3D>& )];
+ %MethodCode
+ Handle(HYDROData_Polyline3D) aRef =
+ Handle(HYDROData_Polyline3D)::DownCast( createHandle( a0 ) );
+ if ( !aRef.IsNull() )
+ {
+ Py_BEGIN_ALLOW_THREADS
+ sipRes = sipSelfWasArg ? sipCpp->HYDROData_Stream::SetBottomPolyline( aRef ):
+ sipCpp->SetBottomPolyline( aRef );
+ Py_END_ALLOW_THREADS
+ }
+ %End
+
+ /**
+ * Sets the left bank object for stream. (LISM method only)
+ */
+ void SetLeftBank( HYDROData_PolylineXY theBank )
+ [void ( const opencascade::handle<HYDROData_PolylineXY>& )];
+ %MethodCode
+ Handle(HYDROData_PolylineXY) aRef =
+ Handle(HYDROData_PolylineXY)::DownCast( createHandle( a0 ) );
+ if ( !aRef.IsNull() )
+ {
+ Py_BEGIN_ALLOW_THREADS
+ sipSelfWasArg ? sipCpp->HYDROData_Stream::SetLeftBank( aRef ):
+ sipCpp->SetLeftBank( aRef );
+ Py_END_ALLOW_THREADS
+ }
+ %End
+
+ /**
+ * Returns the left bank object of stream. (LISM method only)
+ */
+ HYDROData_PolylineXY GetLeftBank() const
+ [opencascade::handle<HYDROData_PolylineXY> ()];
+ %MethodCode
+ Handle(HYDROData_PolylineXY) aRef;
+
+ Py_BEGIN_ALLOW_THREADS
+ aRef = sipSelfWasArg ? sipCpp->HYDROData_Stream::GetLeftBank() :
+ sipCpp->GetLeftBank();
+ Py_END_ALLOW_THREADS
+
+ sipRes = (HYDROData_PolylineXY*)createPointer( aRef );
+ %End
+
+ /**
+ * Sets the right bank object for stream. (LISM method only)
+ */
+ void SetRightBank( HYDROData_PolylineXY theBank )
+ [void ( const opencascade::handle<HYDROData_PolylineXY>& )];
+ %MethodCode
+ Handle(HYDROData_PolylineXY) aRef =
+ Handle(HYDROData_PolylineXY)::DownCast( createHandle( a0 ) );
+ if ( !aRef.IsNull() )
+ {
+ Py_BEGIN_ALLOW_THREADS
+ sipSelfWasArg ? sipCpp->HYDROData_Stream::SetRightBank( aRef ):
+ sipCpp->SetRightBank( aRef );
+ Py_END_ALLOW_THREADS
+ }
+ %End
+
+ /**
+ * Returns the right bank object of stream. (LISM method only)
+ */
+ HYDROData_PolylineXY GetRightBank() const
+ [opencascade::handle<HYDROData_PolylineXY> ()];
+ %MethodCode
+ Handle(HYDROData_PolylineXY) aRef;
+
+ Py_BEGIN_ALLOW_THREADS
+ aRef = sipSelfWasArg ? sipCpp->HYDROData_Stream::GetRightBank() :
+ sipCpp->GetRightBank();
+ Py_END_ALLOW_THREADS
+
+ sipRes = (HYDROData_PolylineXY*)createPointer( aRef );
+ %End
+
+ /**
+ * Add interpolated profiles into the stream.
+ * \param theInterpolator the interpolator
+ * \return true in case of success
+ */
+ virtual bool Interpolate( HYDROData_IProfilesInterpolator* theInterpolator );
+
+ /**
+ * Set vertical slicing step for profiles interpolation. (DTM method only)
+ */
+ void SetDDZ( double theDDZ );
+
+ /**
+ * Set horizontal step for profiles interpolation. (DTM method only)
+ */
+ void SetSpatialStep( double theSpatialStep );
+
+ /**
+ * Set interpolation method (DTM or LISM).
+ */
+ void SetInterpolationMethod( int theMode );
+
+ /**
+ * Set horizontal step on hydr. axis for profiles interpolation. (LISM method)
+ */
+ void SetHaxStep( double theHaxStep );
+
+ /**
+ * Set number of points on profiles to insert (LISM method)
+ */
+ void SetNbProfilePoints( int theNbPoints );
+