public class LinearInterpolationFunction<T extends Scalable<S> & Subtractable<S,? super T>,S extends T> extends java.lang.Object implements InterpolationFunction<T,S>
Constructor and Description |
---|
LinearInterpolationFunction() |
Modifier and Type | Method and Description |
---|---|
S |
apply(T from,
T to,
Value<?> delta)
Applies this function to the given arguments.
|
public S apply(T from, T to, Value<?> delta)
TriFunction
apply
in interface TriFunction<T extends Scalable<S> & Subtractable<S,? super T>,T extends Scalable<S> & Subtractable<S,? super T>,Value<?>,S extends T>
from
- the first function argumentto
- the second function argumentdelta
- the third function argument