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

project

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

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