• 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.

    Parameters

    Returns number

    Parameter of the closest point within the parameter range