value

open override fun value(t: Double): T(source)

Computes a value interpolated linearly between the start and end points of the range based on the parameter t.

Return

The interpolated value between the start and end points of the range.

Parameters

t

A parameter in the range 0.0, 1.0. When t is 0.0, the result is the start value. When t is 1.0, the result is the end value. Intermediate values of t result in a linear interpolation.