CurveFit
public abstract class CurveFit
ArcCurveFit |
This provides provides a curve fit system that stitches the x,y path together with quarter ellipses |
LinearCurveFit |
This performs a simple linear interpolation in multiple dimensions |
MonotonicCurveFit |
This performs a spline interpolation in multiple dimensions |
Base class for curve fitting / interpolation Curve fits must be capable of being differentiable and extend beyond the points (extrapolate)
Summary
Public constructors |
|---|
CurveFit() |
Public methods |
|
|---|---|
static CurveFit |
get(int type, double[] time, double[][] y) |
static CurveFit |
getArc(int[] arcModes, double[] time, double[][] y) |
abstract double |
getPos(double t, int j) |
abstract void |
getPos(double t, double[] v) |
abstract void |
getPos(double t, float[] v) |
abstract double |
getSlope(double t, int j) |
abstract void |
getSlope(double t, double[] v) |
abstract double[] |