UniformLinearVec2MultiInterpolator

data class UniformLinearVec2MultiInterpolator<T : Number, Comparable<T>>(val values: List<<Error class: unknown class><T>>, val type: KClass<T>) : BaseUniformMultiInterpolator<T, <Error class: unknown class><T>>

Uniform linear multi-interpolator for 2D vectors.

Since

v2.0.0

Constructors

Link copied to clipboard
constructor(values: List<<Error class: unknown class><T>>, type: KClass<T>)

Functions

Link copied to clipboard
open operator override fun get(parameterValue: T): <Error class: unknown class><T>

Returns interpolated value for given parameterValue.

Link copied to clipboard
fun <T : Number, Comparable<T>, R1, R2> Interpolator<T, R1>.map(transform: (R1) -> R2): Interpolator<T, R2>

Returns a mapping interpolator, returning values from this interpolator, transformed using given transform function.

Properties

Link copied to clipboard
open override val endValue: <Error class: unknown class><T>

Key value of this interpolator at parameter 1.

Link copied to clipboard
open override val startValue: <Error class: unknown class><T>

Key value of this interpolator at parameter 0.

Link copied to clipboard
open override val type: KClass<T>

Type of the parameter and vector coordinates.

Link copied to clipboard
open override val values: List<<Error class: unknown class><T>>

Key vectors to interpolate between.