Salome HOME
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git] / src / SketchSolver / SketchSolver_Manager.h
index c80f0fc7f0210a7fef83863aa214a476c118f61d..ce83c3d9b9355c01143917f250c8c47e0200b1aa 100644 (file)
@@ -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<SketchPlugin_Feature>& 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<ModelAPI_CompositeFeature>& theSketch);
+
   /** \brief Move feature
    *  \param[in] theMovedFeature dragged sketch feature
    *  \param[in] theFromPoint    original position of the feature