g.bezier.getInversionSolver(p0, p1, p2, p3)
Deprecated. Use the curve.closestPointT
function instead.
Solves an inversion problem -- Given the (x, y) coordinates of a point which lies on a parametric curve x = x(t)/w(t)
, y = y(t)/w(t)
, find the parameter value t
which corresponds to that point. Returns a function that accepts a point and returns t.