class MonotonicCurveFit : CurveFit


This performs a spline interpolation in multiple dimensions

Summary

Public constructors

Public functions

java-static MonotonicCurveFit!
buildWave(configString: String!)

This builds a monotonic spline to be used as a wave function

Double
getPos(t: Double, j: Int)
Unit
Unit
Double
getSlope(t: Double, j: Int)
Unit
DoubleArray<Double>!

Inherited Constants

From androidx.constraintlayout.core.motion.utils.CurveFit
const Int
const Int
LINEAR = 1
const Int
SPLINE = 0

Inherited functions

From androidx.constraintlayout.core.motion.utils.CurveFit
java-static CurveFit!
get(type: Int, time: DoubleArray!, y: Array<DoubleArray!>!)
java-static CurveFit!
getArc(arcModes: IntArray!, time: DoubleArray!, y: Array<DoubleArray!>!)

Public constructors

MonotonicCurveFit

Added in 1.1.0
MonotonicCurveFit(time: DoubleArray!, y: Array<DoubleArray!>!)

Public functions

buildWave

Added in 1.1.0
java-static fun buildWave(configString: String!): MonotonicCurveFit!

This builds a monotonic spline to be used as a wave function

getPos

Added in 1.1.0
fun getPos(t: Double, j: Int): Double

getPos

Added in 1.1.0
fun getPos(t: Double, v: DoubleArray!): Unit

getPos

Added in 1.1.0
fun getPos(t: Double, v: FloatArray!): Unit

getSlope

Added in 1.1.0
fun getSlope(t: Double, j: Int): Double

getSlope

Added in 1.1.0
fun getSlope(t: Double, v: DoubleArray!): Unit

getTimePoints

Added in 1.1.0
fun getTimePoints(): DoubleArray<Double>!