Linear interpolation.
Input slice which values are interpolated.
Position on which slice values are interpolated.
Interpolated resulting value.
See Implementation
Linear interpolation.