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 constructors

Spline in N dimensions

Public functions

Double
Double
getPos(p: Double, splineNumber: Int)
Unit
Unit
Unit
Unit
setup(points: Array<DoubleArray!>!)

Public constructors

HyperSpline

Added in 1.1.0-alpha13
HyperSpline()

HyperSpline

Added in 1.1.0-alpha13
HyperSpline(points: Array<DoubleArray!>!)

Spline in N dimensions

Parameters
points: Array<DoubleArray!>!

[mPoints][dimensionality]

Public functions

approxLength

Added in 1.1.0-alpha13
fun approxLength(curve: Array<HyperSpline.Cubic!>!): Double

getPos

Added in 1.1.0-alpha13
fun getPos(p: Double, splineNumber: Int): Double

getPos

Added in 1.1.0-alpha13
fun getPos(p: Double, x: DoubleArray!): Unit

getPos

Added in 1.1.0-alpha13
fun getPos(p: Double, x: FloatArray!): Unit

getVelocity

Added in 1.1.0-alpha13
fun getVelocity(p: Double, v: DoubleArray!): Unit

setup

Added in 1.1.0-alpha13
fun setup(points: Array<DoubleArray!>!): Unit