Solver Class
Base class for constraint solvers.
Constructor
Solver
()
Item Index
Properties
Methods
addEquations
(
-
eqs
Add equations. Same as .addEquation, but this time the argument is an array of Equations
Parameters:
-
eqs
Array
removeAllEquations
()
Remove all currently added equations.
sortEquations
()
Sort all equations using the .equationSortFunction. Should be called by subclasses before solving.
Properties
equations
Array
Current equations in the solver.
equationSortFunction
Function | Boolean
Function that is used to sort all equations before each solve.