Adaptive approximation of signed distance fields through piecewise continuous interpolation