|
SHAPER
9.15.0
|
Performs high-level operations to solve sketch in SolveSpace. More...

Public Member Functions | |
| void | setParameters (Slvs_Param *theParameters, int theSize) |
| Change array of parameters. More... | |
| void | setEntities (Slvs_Entity *theEntities, int theSize) |
| Change array of entities. More... | |
| void | setConstraints (Slvs_Constraint *theConstraints, int theSize) |
| Change array of constraints. More... | |
| void | setDraggedParameters (const Slvs_hParam *theDragged) |
| Store the parameters of the point which was moved by user. More... | |
| virtual SketchSolver_SolveStatus | solve () |
| Solve the set of equations. More... | |
| virtual void | prepare () |
| Prepare for solving. Store initial values of parameters for undo. More... | |
| virtual void | undo () |
| Revert solution to initial values. More... | |
| virtual bool | isConflicting (const ConstraintID &theConstraint) const |
| Check the constraint is conflicted with others. More... | |
| virtual int | dof () const |
| Degrees of freedom. More... | |
Performs high-level operations to solve sketch in SolveSpace.
| void SolveSpaceSolver_Solver::setParameters | ( | Slvs_Param * | theParameters, |
| int | theSize | ||
| ) |
Change array of parameters.
| [in] | theParameters | pointer to the array of parameters |
| [in] | theSize | size of this array |
| void SolveSpaceSolver_Solver::setEntities | ( | Slvs_Entity * | theEntities, |
| int | theSize | ||
| ) |
Change array of entities.
| [in] | theEntities | pointer to the array of entities |
| [in] | theSize | size of this array |
| void SolveSpaceSolver_Solver::setConstraints | ( | Slvs_Constraint * | theConstraints, |
| int | theSize | ||
| ) |
Change array of constraints.
| [in] | theConstraints | pointer to the array of constraints |
| [in] | theSize | size of this array |
| void SolveSpaceSolver_Solver::setDraggedParameters | ( | const Slvs_hParam * | theDragged | ) |
Store the parameters of the point which was moved by user.
The solver will watch this items to be constant
| [in] | theDragged | list of parameters (not more than 4) which should not be changed during solving |
|
virtual |
Solve the set of equations.
|
virtual |
Prepare for solving. Store initial values of parameters for undo.
|
virtual |
Revert solution to initial values.
|
virtual |
Check the constraint is conflicted with others.
|
virtual |
Degrees of freedom.