Fig. 2.
The quadratic error function (QEF) and the minimizer point in 2D. The red curve is an isocontour, and the green point is the minimizer point calculated in Equation 1. (p1, n1) and (p2, n2) represent the position and unit normal vectors of the two intersection points.