Salome HOME
Using test for testing number of sub-shapes.
[modules/shaper.git] / src / SketchSolver / SketchSolver_ISolver.h
index fd992971a6759831b69f45124f5969daaab4643f..cd525405737336e56b39985edd012189e9797934 100644 (file)
@@ -50,6 +50,9 @@ public:
   /// \brief Check the constraint is conflicted with others
   virtual bool isConflicting(const ConstraintID& theConstraint) const = 0;
 
+  /// \brief Degrees of freedom
+  virtual int dof() const = 0;
+
 protected:
   GroupID myGroup;       ///< ID of the group to be solved
   bool    myFindFaileds; ///< flag to find conflicting or inappropriate constraints