point to interpolate
reference data to interpolate from
function to get value from reference data. Can be the z value or a property in the m-values defaults to function that returns the z value or 0 if the z value is undefined
Optional
corners: BilinearCorners<T>the 4 corner points relative to the reference point. Add this if you don't want to keep recomputing the corners on the same data.
Bilinear Interpolation
Description
Given a reference of data, interpolate a point using bilinear interpolation
Usage