Finds the parameter of the point on a NURBS curve closest to point.
point
Uses dense sampling over the parameter range followed by a golden-section search on the best bracket and a few Newton iterations on C'(u) · (C(u) - P) = 0.
C'(u) · (C(u) - P) = 0
Curve data
Query point
Minimum number of samples over the range
Parameter of the closest point within the parameter range
Finds the parameter of the point on a NURBS curve closest to
point.Uses dense sampling over the parameter range followed by a golden-section search on the best bracket and a few Newton iterations on
C'(u) · (C(u) - P) = 0.