A more robust method than the above is to compute the
stationary points of the squared distance function
between a point
and a variable point on a rational polynomial curve. We search for
zeros of the derivative
and then examine if at
those zeros the squared distance function attains a minimum. Detailed
formulation is given in Chap. 7, and a robust solution method
based on the IPP algorithm is provided in Chap. 4.