X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_Manager.h;h=ce83c3d9b9355c01143917f250c8c47e0200b1aa;hb=ea593bc59e7e9461f6c4e2afd3f24d621edb1011;hp=c80f0fc7f0210a7fef83863aa214a476c118f61d;hpb=97917d3698f5a2f7fc9596e7c755ff8f6751e373;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_Manager.h b/src/SketchSolver/SketchSolver_Manager.h index c80f0fc7f..ce83c3d9b 100644 --- a/src/SketchSolver/SketchSolver_Manager.h +++ b/src/SketchSolver/SketchSolver_Manager.h @@ -29,6 +29,7 @@ class GeomAPI_Pnt2d; class GeomDataAPI_Point2D; +class ModelAPI_CompositeFeature; class SketchPlugin_Constraint; /** \class SketchSolver_Manager @@ -67,6 +68,12 @@ protected: */ bool updateFeature(const std::shared_ptr& theFeature); + /** \brief Updates the sketch and related constraints, if the sketch plane is changed + * \param[in] theSketch sketch to be updated + * \return \c true if the sketch plane is changed + */ + bool updateSketch(const std::shared_ptr& theSketch); + /** \brief Move feature * \param[in] theMovedFeature dragged sketch feature * \param[in] theFromPoint original position of the feature