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

project

fun project(queryPoint: Vector2d, ds: Double = 0.25): Double (source)

Project queryPoint onto the current path by applying fastProject with various guesses along the path.

Parameters

queryPoint - query queryPoint

ds - spacing between guesses