Salome HOME
Refs #289 - Spline profile is represented in OCC view as polyline profile
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Operation.hxx
index be8ceef616e7c445f3e22a7f6da1d8d1b24a3402..855d0da2a33e0abec6e601c9de97c14a7f743bc5 100644 (file)
@@ -77,7 +77,6 @@ public:
    * It is applicable to the following operations:
    * <UL>
    *   <LI>Clear</LI>
-   *   <LI>Join (without arguments)</LI>
    * </UL>
    * @return true in case of success; false otherwise.
    */
@@ -108,27 +107,26 @@ public:
             const int theIntParam2);
 
   /**
-   * This method initializes the object with an operation with 
-   * list of pairs of integer parameters. 
-   * It is applicable to the following operations:
+   * This method initializes the object with an operation with two integer
+   * parameters. It is applicable to the following operations:
    * <UL>
-   *   <LI>RemovePoints</LI>
+   *   <LI>Join (with a list of int arguments)</LI>
    * </UL>
    * @return true in case of success; false otherwise.
    */
-  bool init(const Type theType, 
-    const CurveCreator_ICurve::SectionToPointList &theParamList1);
+  bool init(const Type theType, const std::list<int> theParamList);
 
   /**
-   * This method initializes the object with an operation with three integer
-   * parameters. It is applicable to the following operations:
+   * This method initializes the object with an operation with 
+   * list of pairs of integer parameters. 
+   * It is applicable to the following operations:
    * <UL>
    *   <LI>RemovePoints</LI>
    * </UL>
    * @return true in case of success; false otherwise.
    */
-  bool init(const Type theType, const int theIntParam1,
-            const int theIntParam2, const int theIntParam3);
+  bool init(const Type theType, 
+    const CurveCreator_ICurve::SectionToPointList &theParamList1);
 
   /**
    * This method initializes the object with an operation with one
@@ -142,19 +140,6 @@ public:
   bool init(const Type theType, const CurveCreator::Coordinates &theCoords,
             const int theIntParam);
 
-  /**
-   * This method initializes the object with an operation with one
-   * CurveCreator::Coordinates parameter and two integer parameters.
-   * It is applicable to the following operations:
-   * <UL>
-   *   <LI>AddSection</LI>
-   *   <LI>InsertPoints</LI>
-   *   <LI>SetCoordinates</LI>
-   * </UL>
-   * @return true in case of success; false otherwise.
-   */
-  bool init(const Type theType, const CurveCreator::Coordinates &theCoords,
-            const int theIntParam1, const int theIntParam2);
   /**
    * This method initializes the object with an operation with
    * list of pairs of integer parameters and CurveCreator::Coordinates parameters.