X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchSolver%2FSketchSolver_Manager.h;h=d119338cae5682313f9713d910d5924722420654;hb=7c39e62c40dfc0c9570389003b6a09c759f8ef47;hp=78ddaefbb26c2d99811bb51d0462d4564519ace8;hpb=77d6e03555d0d46232e09ace4178f66f8c9b40ee;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_Manager.h b/src/SketchSolver/SketchSolver_Manager.h index 78ddaefbb..d119338ca 100644 --- a/src/SketchSolver/SketchSolver_Manager.h +++ b/src/SketchSolver/SketchSolver_Manager.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2022 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -85,12 +85,14 @@ protected: const std::shared_ptr& theToPoint); /** \brief Move feature using its moved attribute - * \param[in] theMovedAttribute dragged point attribute of sketch feature - * \param[in] theFromPoint original position of the moved point - * \param[in] theToPoint prefereble position (current position of the mouse) + * \param[in] theMovedAttribute dragged point (array of points) attribute of sketch feature + * \param[in] theMovedPointIndex index of dragged point in an array (-1 otherwise) + * \param[in] theFromPoint original position of the moved point + * \param[in] theToPoint prefereble position (current position of the mouse) * \return \c true if the attribute owner has been changed successfully */ - bool moveAttribute(const std::shared_ptr& theMovedAttribute, + bool moveAttribute(const std::shared_ptr& theMovedAttribute, + const int theMovedPointIndex, const std::shared_ptr& theFromPoint, const std::shared_ptr& theToPoint);