class ArcCurveFit : CurveFit


This provides provides a curve fit system that stitches the x,y path together with quarter ellipses

Summary

Constants

const Int
const Int
const Int
const Int
const Int
const Int

Public constructors

ArcCurveFit(arcModes: IntArray!, time: DoubleArray!, y: Array<DoubleArray!>!)

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

Constants

ARC_ABOVE

Added in 1.1.0
const val ARC_ABOVE = 5: Int

ARC_BELOW

Added in 1.1.0
const val ARC_BELOW = 4: Int

ARC_START_FLIP

Added in 1.1.0
const val ARC_START_FLIP = 3: Int

ARC_START_HORIZONTAL

Added in 1.1.0
const val ARC_START_HORIZONTAL = 2: Int

ARC_START_LINEAR

Added in 1.1.0
const val ARC_START_LINEAR = 0: Int

ARC_START_VERTICAL

Added in 1.1.0
const val ARC_START_VERTICAL = 1: Int

Public constructors

ArcCurveFit

Added in 1.1.0
ArcCurveFit(arcModes: IntArray!, 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>!