Salome HOME
refs #250 - Fatal error after Join all selections operation
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Curve.hxx
index ab073b7b0a7fd665a31b1d4fad8859c652e6d510..34ff73f3ca1957caaff80311ccfca36782e231eb 100644 (file)
@@ -228,7 +228,8 @@ public:
                          const CurveCreator::Coordinates& theNewCoords );
 
   //! Set coordinates of specified points from different sections
-  virtual bool setSeveralPoints( const SectionToPointCoordsList &theSectionToPntCoords);
+  virtual bool setSeveralPoints( const SectionToPointCoordsList &theSectionToPntCoords,
+                                 const bool theIsToSaveDiff = true );
 
   //! For internal use only! Undo/Redo are not used here.
   virtual bool removePointsInternal( const SectionToPointList &thePoints );
@@ -264,6 +265,12 @@ public:
    */
   virtual bool canPointsBeSorted();
 
+  /**
+   * Saves points coordinates difference.
+   * \param theOldCoords the old points coordinates
+   */
+  virtual void saveCoordDiff( const SectionToPointCoordsList &theOldCoords );
+
   /***********************************************/
   /***       Presentation methods              ***/
   /***********************************************/