core / com.acmerobotics.roadrunner.path / Path / ProjectionResult / <init>

<init>

ProjectionResult(displacement: Double, distance: Double)

Simple container for the result of a projection (i.e., a project call).

Parameters

displacement - displacement along the path

distance - Euclidean distance between the path and query points