X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_ConstraintMovement.h;h=bfbe1f1ed644f2fc442e11ef918c4cd33275ebcc;hb=c02fae5493cc6d56c9a1db3bdcf6d872f88fea07;hp=8614f309ac064177045d915bad8d86d234c199fb;hpb=08f1aef6629e6a63cc4671d271ded4de6e826948;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_ConstraintMovement.h b/src/SketchSolver/SketchSolver_ConstraintMovement.h index 8614f309a..bfbe1f1ed 100644 --- a/src/SketchSolver/SketchSolver_ConstraintMovement.h +++ b/src/SketchSolver/SketchSolver_ConstraintMovement.h @@ -1,4 +1,4 @@ -// Copyright (C) 2017 CEA/DEN, EDF R&D +// Copyright (C) 2017-2019 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 @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // File: SketchSolver_ConstraintMovement.h @@ -67,9 +66,12 @@ protected: /// \brief Create constraint to fix moved arc extremity ConstraintWrapperPtr fixArcExtremity(const EntityWrapperPtr& theArcExtremity); - /// \brief Creat constraint to fix moved point on circle/arc + /// \brief Create constraint to fix moved point on circle/arc ConstraintWrapperPtr fixPointOnCircle(const EntityWrapperPtr& theCircular); + /// \brief Create constraint to fix moved point on ellipse/elliptic arc + ConstraintWrapperPtr fixPointOnEllipse(const EntityWrapperPtr& theConic); + private: FeaturePtr myMovedFeature; ///< fixed feature (if set, myBaseConstraint should be NULL) AttributePtr myDraggedPoint; ///< one of the feature points which has been moved