abstract class CurveFit

Known direct subclasses
ArcCurveFit

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

LinearCurveFit

This performs a simple linear interpolation in multiple dimensions

MonotonicCurveFit

This performs a spline interpolation in multiple dimensions


Base class for curve fitting / interpolation Curve fits must be capable of being differentiable and extend beyond the points (extrapolate)

Summary

Constants

const Int
const Int
LINEAR = 1
const Int
SPLINE = 0

Public constructors

Public functions

java-static CurveFit!
get(type: Int, time: DoubleArray<Double>!, y: Array<DoubleArray<Double>!>!)
java-static CurveFit!
getArc(
    arcModes: IntArray<Int>!,
    time: DoubleArray<Double>!,
    y: Array<DoubleArray<Double>!>!
)
abstract Double
getPos(t: Double, j: Int)
abstract Unit
abstract Unit
abstract Double
getSlope(t: Double, j: Int)
abstract Unit
abstract Array<Double>!

Constants

CONSTANT

Added in 1.1.2
const val CONSTANT = 2: Int

LINEAR

Added in 1.1.2
const val LINEAR = 1: Int

SPLINE

Added in 1.1.2
const val SPLINE = 0: Int

Public constructors

CurveFit

Added in 1.1.2
CurveFit()

Public functions

get

Added in 1.1.2
java-static fun get(type: Int, time: DoubleArray<Double>!, y: Array<DoubleArray<Double>!>!): CurveFit!

getArc

Added in 1.1.2
java-static fun getArc(
    arcModes: IntArray<Int>!,
    time: DoubleArray<Double>!,
    y: Array<DoubleArray<Double>!>!
): CurveFit!

getPos

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

getPos

Added in 1.1.2
abstract fun getPos(t: Double, v: DoubleArray<Double>!): Unit

getPos

Added in 1.1.2
abstract fun getPos(t: Double, v: FloatArray<Float>!): Unit

getSlope

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

getSlope

Added in 1.1.2
abstract fun getSlope(t: Double, v: DoubleArray<Double>!): Unit

getTimePoints

Added in 1.1.2
abstract fun getTimePoints(): Array<Double>!