Fitting B-Spline Curves to Point Clouds by Squared Distance Minimization
Geometry of the squared distance function to curves and surfaces