HyperSpline
public class HyperSpline
Provides spline interpolation code. Currently not used but it is anticipated that we will be using it in the KeyMotion
Summary
Nested types |
|---|
public class HyperSpline.Cubic |
Public constructors |
|---|
HyperSpline(double[][] points)Spline in N dimensions |
Public methods |
|
|---|---|
double |
approxLength(HyperSpline.Cubic[] curve) |
double |
getPos(double p, int splineNumber) |
void |
getPos(double p, double[] x) |
void |
getPos(double p, float[] x) |
void |
getVelocity(double p, double[] v) |
void |
setup(double[][] points) |
Public constructors
HyperSpline
Added in 1.1.1
public HyperSpline(double[][] points)
Spline in N dimensions
| Parameters | |
|---|---|
double[][] points |
[mPoints][dimensionality] |