Salome HOME
#refs 522 (very draft) //import only
[modules/hydro.git] / src / HYDROData / HYDROData_Stream.h
index 800438fe5962d63ef85dd2625ad6a6b0f7aba353..673cca656a7d4a6b6968a64a750a5bf8004840f8 100644 (file)
@@ -126,6 +126,12 @@ public:
    */
   HYDRODATA_EXPORT virtual void UpdatePrs();
 
+  /**
+   *
+   */
+  HYDRODATA_EXPORT virtual void CopyTo( const Handle(HYDROData_Entity)& theDestination ) const;
+
+
   /**
    * Returns default filling color for new stream.
    */
@@ -244,13 +250,20 @@ public:
    * Returns reference bottom polyline object of stream.
    */
   HYDRODATA_EXPORT virtual Handle(HYDROData_Polyline3D) GetBottomPolyline() const;
+  
+  /**
+   * Sets reference bottom polyline object for stream.
+   * \param theBottom the polyline 3D
+   * \return true in case of success
+   */
+  HYDRODATA_EXPORT virtual bool SetBottomPolyline( const Handle(HYDROData_Polyline3D)& theBottom );
 
   /**
    * Add interpolated profiles into the stream.
    * \param theInterpolator the interpolator
    * \return true in case of success
    */
-  HYDRODATA_EXPORT virtual bool Interpolate( const HYDROData_IProfilesInterpolator* theInterpolator );
+  HYDRODATA_EXPORT virtual bool Interpolate( HYDROData_IProfilesInterpolator* theInterpolator );
   
 protected: