BaseUniformMultiInterpolator

Base class for uniform multi-interpolator.

Uniform multi-interpolator is one that has its key values distributed uniformly across the range 0, 1.

Since

v2.0.0

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open operator override fun get(parameterValue: T): R

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: R

Key value of this interpolator at parameter 1.

Link copied to clipboard
open override val startValue: R

Key value of this interpolator at parameter 0.

Link copied to clipboard
abstract val type: KClass<T>

Implement this property to return type of the parameter.

Link copied to clipboard
abstract val values: List<R>

Key values to interpolate between.