Companion

Properties

Link copied to clipboard

The WPILib Translation2d struct: x and y in meters. It describes a displacement, so it applies to a Vector2d<DistanceUnit>.

Link copied to clipboard

A zero vector in inches (for legacy compatibility).

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <U : Unit<U>> zero(unit: U): Vector2d<U>

Creates a zero vector with the specified unit.