project

public Double project(Vector2d query)

Returns the nearest point on the curve in terms of the internal parameter t.


public final Double project(Vector2d p, Double tolerance)

Projection algorithm based on this paper, but with the Modified Uspensky algorithm instead of using a Sturm sequence.