*/
virtual SketchSolver_SolveStatus solve();
- private:
+ /// \brief Prepare for solving. Store initial values of parameters for undo
+ virtual void prepare();
+
+ /// \brief Revert solution to initial values
+ virtual void undo();
+
+ /// \brief Check the constraint is conflicted with others
+ virtual bool isConflicting(const ConstraintID& theConstraint) const;
+
+private:
+ /// \brief Check whether degenerated arcs exist
+ bool hasDegeneratedArcs() const;
+
+private:
Slvs_System myEquationsSystem; ///< set of equations for solving in SolveSpace
+ Slvs_Param* myParamsCopy; ///< copy of parameters
};
#endif