class LinearCurveFit : CurveFit


This performs a simple linear interpolation in multiple dimensions

Summary

Public constructors

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

LinearCurveFit

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

Public functions

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>!