Curve2Interpolator

class Curve2Interpolator<T : Number, Comparable<T>>(curve: Curve2<T>) : Interpolator<T, <Error class: unknown class><T>>

Curve interpolator for 2D vectors.

Since

v2.0.0

Constructors

Link copied to clipboard
constructor(curve: Curve2<T>)

Functions

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

Value of this interpolator at 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.