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