"Algorithm 790. Cubic Shepard method for bivariate interpolation of scattered data" - читать интересную книгу автора (Renka.)