TemporalInterpolation

fun interface TemporalInterpolation

How to compute a value between two consecutive instants.

Inheritors

Functions

Link copied to clipboard
abstract fun interpolate(valueBefore: Double, valueAfter: Double, weight: Double): Double

The value between valueBefore and valueAfter, at weight from 0 (before) to 1 (after).