idw_interpolation

Function idw_interpolation 

Source
pub fn idw_interpolation<M: Clone, P: GetXY + GetZ, R: GetM<M> + GetXY + GetZ, V: Interpolatable>(
    point: &P,
    ref_data: &[R],
    get_value: GetInterpolateValue<R, V>,
) -> V
Expand description

§Inverse Distance Weighting Interpolation

§Description

Given a reference of data, interpolate a point using inverse distance weighting

§Usage