Salome HOME
bug #63: join of sections
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_ICurve.hxx
index fa0317469d6b13278ba4876d4923e18795d1aa63..a535dc65a004086ba759689e4abedcb6a21b4583 100644 (file)
@@ -26,6 +26,7 @@
 #include "CurveCreator_Macro.hxx"
 #include <deque>
 #include <vector>
+#include <string>
 
 class Handle_AIS_InteractiveObject;
 
@@ -151,7 +152,8 @@ public:
                          const std::deque<float>& theNewCoords ) = 0;
   
   //! Set coordinates of specified points from different sections
-  virtual bool setSeveralPoints( const SectionToPointCoordsList &theSectionToPntCoords) = 0;
+  virtual bool setSeveralPoints( const SectionToPointCoordsList &theSectionToPntCoords,
+                                 const bool theIsToSaveDiff = true ) = 0;
 
   //! Remove point with given id
   virtual bool removePoint( const int theISection, const int theIPnt = -1 ) = 0;
@@ -173,6 +175,21 @@ public:
    */
   virtual int getNbPoints( const int theISection ) const = 0;
 
+  /**
+   * Set skip sorting flag. If the flag is true - points sorting will be skipped.
+   */
+  virtual void setSkipSorting( const bool ) = 0;
+
+  /**
+   * Indicates whether the points can be sorted.
+   */
+  virtual bool canPointsBeSorted() = 0;
+
+  /**
+   * Saves points coordinates difference.
+   * \param theOldCoords the old points coordinates
+   */
+  virtual void saveCoordDiff( const SectionToPointCoordsList &theOldCoords ) = 0;
 
   /***********************************************/
   /***       Presentation methods              ***/