Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Degrees of freedom for a sketch (issue #796)
[modules/shaper.git]
/
src
/
SketchSolver
/
PlaneGCSSolver
/
PlaneGCSSolver_Solver.h
diff --git
a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h
b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h
index c2c463c5d41a9fd4954fd749832a975ceffc0241..35920bca0627aa0ed44d510968a8034db622efa6 100644
(file)
--- a/
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h
+++ b/
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h
@@
-49,6
+49,9
@@
public:
/// \brief Check the constraint is conflicted with others
virtual bool isConflicting(const ConstraintID& theConstraint) const;
+ /// \brief Degrees of freedom
+ virtual int dof() const;
+
private:
void collectConflicting();