FCL  0.6.0
Flexible Collision Library
fcl::detail::PolySolver< S > Class Template Reference

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

#include <polysolver.h>

Static Public Member Functions

static int solveLinear (S c[2], S s[1])
 Solve a linear equation with coefficients c, return roots s and number of roots.
 
static int solveQuadric (S c[3], S s[2])
 Solve a quadratic function with coefficients c, return roots s and number of roots.
 
static int solveCubic (S c[4], S s[3])
 Solve a cubic function with coefficients c, return roots s and number of roots.
 

Detailed Description

template<typename S>
class fcl::detail::PolySolver< S >

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


The documentation for this class was generated from the following files: