%End
public:
- /**
- * Update the shape presentations of stream.
- */
- void UpdatePrs();
-
/**
* Returns default filling color for new stream.
*/
/**
* 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 ) );
}
%End
-public:
+public:
// Public methods to work with Stream data fields
/**
[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
[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.
*/
*/
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();