X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_ISolver.h;h=cd525405737336e56b39985edd012189e9797934;hb=4f565b2204d3fba046aa8c851abada2a5a17bf6c;hp=fd992971a6759831b69f45124f5969daaab4643f;hpb=9ddc291385b55eb7efd9a560a1a5c468a98dc324;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_ISolver.h b/src/SketchSolver/SketchSolver_ISolver.h index fd992971a..cd5254057 100644 --- a/src/SketchSolver/SketchSolver_ISolver.h +++ b/src/SketchSolver/SketchSolver_ISolver.h @@ -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