getClosestPoint

public Pose getClosestPoint(Pose pose, int searchLimit)

This gets the closest Point from a specified pose to the BezierCurve with a Newton search that is limited to some specified step limit.

Return

returns the closest Point.

Parameters

pose

the pose.

searchLimit

the maximum number of iterations to run.