Interpolation of curves and surfaces