A class solves polynomial degree (1,2,3) equations. More...
#include <hpp/fcl/intersect.h>
Static Public Member Functions | |
static int | solveLinear (FCL_REAL c[2], FCL_REAL s[1]) |
Solve a linear equation with coefficients c, return roots s and number of roots. More... | |
static int | solveQuadric (FCL_REAL c[3], FCL_REAL s[2]) |
Solve a quadratic function with coefficients c, return roots s and number of roots. More... | |
static int | solveCubic (FCL_REAL c[4], FCL_REAL s[3]) |
Solve a cubic function with coefficients c, return roots s and number of roots. More... | |
A class solves polynomial degree (1,2,3) equations.
Solve a cubic function with coefficients c, return roots s and number of roots.
Solve a linear equation with coefficients c, return roots s and number of roots.