]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SketchSolver_Group.h
Salome HOME
Task 2.6. Change color of fully constrained sketch
[modules/shaper.git] / src / SketchSolver / SketchSolver_Group.h
index 7e8c9424f1f55e91119f53c2c8fb17d491aa95d6..a9d305a44a0ddcc9329f09f4e84f8e977a06eed6 100644 (file)
@@ -96,7 +96,7 @@ private:
   void setTemporary(SolverConstraintPtr theConstraint);
 
   /// \brief Compute DoF of the sketch and set corresponding field
-  void computeDoF() const;
+  void computeDoF();
 
 private:
   CompositeFeaturePtr mySketch; ///< Sketch for this group
@@ -110,6 +110,8 @@ private:
   PlaneGCSSolver_Solver::SolveStatus myPrevResult;
   std::set<ObjectPtr>      myConflictingConstraints; ///< List of conflicting constraints
 
+  int  myDOF; ///< degrees of freedom of the current sketch
+
   bool myIsEventsBlocked; ///< shows the events are blocked for this group
 };