B-spline approximation.