JavaScript is disabled on your browser.
Interface Interpolatable<T>
-
-
Method Summary
All Methods
Modifier and Type |
Method |
Description |
T |
interpolate (T endValue,
double t) |
The function calculates an interpolated value along the fraction
t between 0.0 and 1.0 .
|
-
-
Method Detail
-
interpolate
T interpolate(T endValue,
double t)
The function calculates an interpolated value along the fraction
t
between 0.0
and 1.0
. When t
= 1.0,
endVal
is returned.
- Parameters:
endValue
- target value
t
- fraction between 0.0
and 1.0
- Returns:
- interpolated value
Scripting on this page tracks web page traffic, but does not change the content in any way.