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.0
public HyperSpline()

HyperSpline

Added in 1.1.0
public HyperSpline(double[][] points)

Spline in N dimensions

Parameters
double[][] points

[mPoints][dimensionality]

Public methods

approxLength

Added in 1.1.0
public double approxLength(HyperSpline.Cubic[] curve)

getPos

Added in 1.1.0
public double getPos(double p, int splineNumber)

getPos

Added in 1.1.0
public void getPos(double p, double[] x)

getPos

Added in 1.1.0
public void getPos(double p, float[] x)

getVelocity

Added in 1.1.0
public void getVelocity(double p, double[] v)

setup

Added in 1.1.0
public void setup(double[][] points)