Salome HOME
refs #249 - Undo after Join selected sections operation works not properly
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Profile.hxx
index 3d08001131926873bda910faedcf9658b66f7613..67461a42f78bb9c6bde32b24ee53797c027d1c8a 100644 (file)
@@ -97,18 +97,6 @@ public:
   virtual bool setClosed( const int theISection, 
                           const bool theIsClosed );
 
-  
-  //! For internal use only! Undo/Redo are not used here.
-  virtual bool setSectionTypeInternal( const int theISection, 
-                                       const CurveCreator::SectionType theType );
-  /**
-   *  Set type of the specified section (or all sections
-   *  if \a theISection is -1).
-   */
-  virtual bool setSectionType( const int theISection, 
-                               const CurveCreator::SectionType theType );
-
-
   /***********************************************/
   /***           Point methods                 ***/
   /***********************************************/
@@ -122,6 +110,15 @@ public:
   //! For internal use only! Undo/Redo are not used here.
   virtual bool setPointInternal( const CurveCreator::SectionsMap &theSectionsMap );
 
+  /**
+   *  Add one point to the specified section starting from the given theIPnt index.
+   *  Contrary to CurveCreator_Curve::addPoints(...) if \a theIPnt is -1 the right index
+   *  will be calculated automatically in accordance with X coordinate value of the point.
+   */
+  virtual bool addPoints( const CurveCreator::Coordinates &theCoords,
+                          const int theISection,
+                          const int theIPnt = -1 );
+
   /**
    * Indicates whether the points can be sorted.
    */