Perform interpolation using the Lanczos filter. This method uses a kernel-based approach
to weigh contributions from nearby points, providing a balance between smoothing and sharpness.
// We have m-value data that we want to interpolate interfaceTempData { temp: number; }
constpointIndex = newPointIndexFast<TempData>(); // add lots of points pointIndex.insertLonLat(lon, lat, data); // ....
// given a point we are interested in constpoint: VectorPoint = { x:20, y: -40 }; // get a collection of points relative to the point constdata = awaitpointIndex.searchRadius(point.x, point.y, radius);
Lanczos Interpolation
Description
Perform interpolation using the Lanczos filter. This method uses a kernel-based approach to weigh contributions from nearby points, providing a balance between smoothing and sharpness.
Usage