Salome HOME
Center presentation validation: check interactive object on NULL
[modules/shaper.git] / src / SketchSolver / PlaneGCSSolver / PlaneGCSSolver_Tools.h
index e06acb15923efe5dbb251b1a576ac0443a7144d8..69cc966803ecd95cb9b401e6a815ece98358aaf4 100644 (file)
@@ -22,7 +22,7 @@
 #define PlaneGCSSolver_Tools_H_
 
 #include <SketchSolver_Constraint.h>
-#include <SketchSolver_ConstraintFixed.h>
+#include <SketchSolver_ConstraintMovement.h>
 #include <SketchPlugin_Constraint.h>
 
 #include <GeomAPI_Lin2d.h>
@@ -39,8 +39,11 @@ namespace PlaneGCSSolver_Tools
   SolverConstraintPtr createConstraint(ConstraintPtr theConstraint);
 
   /// \brief Creates temporary constraint to fix the feature after movement
-  std::shared_ptr<SketchSolver_ConstraintFixed>
+  std::shared_ptr<SketchSolver_ConstraintMovement>
       createMovementConstraint(FeaturePtr theMovedFeature);
+  /// \brief Creates temporary constraint to fix the attribute after movement
+  std::shared_ptr<SketchSolver_ConstraintMovement>
+      createMovementConstraint(AttributePtr theMovedAttribute);
 
   /// \brief Creates new constraint using given parameters
   /// \param theConstraint [in]  original constraint