Class BilinearInterpolation

  • All Implemented Interfaces:
    BivariateGridInterpolation

    public class BilinearInterpolation
    extends Object
    implements BivariateGridInterpolation
    Bilinear interpolation is the 2-dimensional equivalent of linear interpolation. The algorithm first does linear interpolation in the x-direction at the desired x position on the two enclosing horizontal grid lines (say, y1 and y2), then does another linear interpolation using these two interpolated points to interpolate the value at (x, y).
    See Also:
    Wikipedia: Bilinear interpolation, LinearInterpolation