Fit a 3D polyline to a bezier curve Compare the original 3D polyline with the fitted 3D bezier spline in one space. Fitting algorithm currently used: https://github.com/soswow/fit-curve