core / com.acmerobotics.roadrunner.path / Path / fastProject

fastProject

fun fastProject(queryPoint: Vector2d, projectGuess: Double = length() / 2.0): Double (source)

Project queryPoint onto the current path using the iterative method described here.

Parameters

queryPoint - query queryPoint

projectGuess - guess for the projected queryPoint's s along the path