115 if (
E_NOERROR == error)
return "No error";
116 else if (
E_NO_CONVERGE == error)
return "Failed to converge";
117 else return "UNKNOWN ERROR";
No error.
Definition: solveri.hpp:91
virtual int getError() const
Return the latest error.
Definition: solveri.hpp:107
virtual const char * strError(const int error) const
Return a description of the latest error.
Definition: solveri.hpp:113
Solver interface supporting storage and description of the latest error.
Definition: solveri.hpp:84
Failed to converge.
Definition: solveri.hpp:93
Undefined value (e.g. computed a NAN, or tan(90 degrees) )
Definition: solveri.hpp:95
Converged but degraded solution (e.g. WDLS with psuedo-inverse singular)
Definition: solveri.hpp:89
Definition: articulatedbodyinertia.cpp:28
SolverI()
Initialize latest error to E_NOERROR.
Definition: solveri.hpp:99
virtual ~SolverI()
Definition: solveri.hpp:103
int error
Latest error, initialized to E_NOERROR in constructor.
Definition: solveri.hpp:122