]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/CurveCreator/CurveCreator_Diff.hxx
Salome HOME
Old development made for salome Hydro:
[modules/geom.git] / src / CurveCreator / CurveCreator_Diff.hxx
index 1830bf78bcaf4a29fdf61676d073af01b5675838..5baa4a677e418f1ffe64185fe7c22f015bb5ea40 100644 (file)
@@ -125,7 +125,7 @@ public:
             const int theIntParam1 );
 
   /**
-   * This method initializes the difference with an operation with 
+   * This method initializes the difference with an operation with
    * list of pairs of integer parameters.
    * It is applicable to the following operations:
    * <UL>
@@ -137,7 +137,7 @@ public:
             const CurveCreator_ICurve::SectionToPointList &theParamList);
 
   /**
-   * This method initializes the difference with an operation with 
+   * This method initializes the difference with an operation with
    * list of pairs of integer parameters with point coordinates.
    * It is applicable to the following operations:
    * <UL>
@@ -149,7 +149,7 @@ public:
             const CurveCreator_ICurve::SectionToPointCoordsList &theParamList);
 
   /**
-   * This method initializes the difference with an operation with 
+   * This method initializes the difference with an operation with
    * list of pairs of integer parameters with point coordinates.
    * \param theCurve the modified curve
    * \param theOldParamList the old parameters (to be saved for undo)
@@ -157,6 +157,20 @@ public:
   bool init(const CurveCreator_Curve *theCurve,
             const CurveCreator_ICurve::SectionToPointCoordsList &theOldParamList);
 
+
+  /**
+   * This method initializes the difference with an operation with one
+   * integer and one array of integer[3] parameters.
+   * It is applicable to the following operations:
+   * <UL>
+   *   <LI>ColorSection</LI>
+   * </UL>
+   */
+  bool init(const CurveCreator_Curve *theCurve,
+            const CurveCreator_Operation::Type theType,
+            const int theIntParam1,
+            const int theIntParam2[3]);
+
   /**
    * This method applies undo operation to theCurve.
    */