Returns the nearest point on the curve in terms of the internal parameter t.
Projection algorithm based on this paper, but with the Modified Uspensky algorithm instead of using a Sturm sequence.