Scattered data near-interpolation with application to discontinuous surfaces