get_interpolation

Function get_interpolation 

Source
pub fn get_interpolation<M: Clone, P: GetXY + GetZ, R: GetM<M> + GetXY + GetZ, V: Interpolatable>(
    method: InterpolationMethod,
) -> InterpolationFunction<P, R, V>
Expand description

Get the interpolation function based on the method type Options are:

  • average
  • nearest
  • idw
  • lanczos (Best)