X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FPlaneGCSSolver%2FPlaneGCSSolver_Solver.h;fp=src%2FSketchSolver%2FPlaneGCSSolver%2FPlaneGCSSolver_Solver.h;h=0b4ba42e650640f3a3f01052fb91182e2fdeaffd;hb=d865a0570ff371f052a3dffdfe2d68c2b3d0b806;hp=572f2df25ecce3fd5dd38b47e2d6a401c9ebc45f;hpb=5c5547dac7feec007bc8804398cfc3111642b225;p=modules%2Fshaper.git diff --git a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h index 572f2df25..0b4ba42e6 100644 --- a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h +++ b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h @@ -46,10 +46,14 @@ public: void clear(); /// \brief Add constraint to the system of equations - void addConstraint(GCSConstraintPtr theConstraint); - - /// \brief Remove constraint from the system of equations - void removeConstraint(ConstraintID theID); + /// \param[in] theMultiConstraintID ID of the multi constraint which may consists of + /// several primitive constraints + /// \param[in] theConstraints list of primitive constraints + void addConstraint(const ConstraintID& theMultiConstraintID, + const std::list& theConstraints); + + /// \brief Remove constraints from the system of equations + void removeConstraint(const ConstraintID& theID); /// \brief Initialize memory for new solver's parameter double* createParameter();