Static Public Member Functions | List of all members
hpp::fcl::PolySolver Class Reference

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...
 

Detailed Description

A class solves polynomial degree (1,2,3) equations.

Member Function Documentation

static int hpp::fcl::PolySolver::solveCubic ( FCL_REAL  c[4],
FCL_REAL  s[3] 
)
static

Solve a cubic function with coefficients c, return roots s and number of roots.

static int hpp::fcl::PolySolver::solveLinear ( FCL_REAL  c[2],
FCL_REAL  s[1] 
)
static

Solve a linear equation with coefficients c, return roots s and number of roots.

static int hpp::fcl::PolySolver::solveQuadric ( FCL_REAL  c[3],
FCL_REAL  s[2] 
)
static

Solve a quadratic function with coefficients c, return roots s and number of roots.