Class Distance

java.lang.Object
edu.wpi.first.units.Unit<Distance>
edu.wpi.first.units.Distance

public class Distance
extends Unit<Distance>
Unit of linear dimension.

This is the base type for units of linear dimension. It is also used to specify the dimension for Measure: Measure<Distance>.

Actual units (such as Units.Meters and Units.Inches) can be found in the Units class.