mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
[wpiunits] Documentation improvements (#5932)
This commit is contained in:
@@ -4,6 +4,15 @@
|
||||
|
||||
package edu.wpi.first.units;
|
||||
|
||||
/**
|
||||
* Unit of angular dimension.
|
||||
*
|
||||
* <p>This is the base type for units of distance dimension. It is also used to specify the
|
||||
* dimension for {@link Measure}: <code>Measure<Distance></code>.
|
||||
*
|
||||
* <p>Actual units (such as {@link Units#Meters} and {@link Units#Inches}) can be found in the
|
||||
* {@link Units} class.
|
||||
*/
|
||||
public class Distance extends Unit<Distance> {
|
||||
/** Creates a new unit with the given name and multiplier to the base unit. */
|
||||
Distance(double baseUnitEquivalent, String name, String symbol) {
|
||||
|
||||
Reference in New Issue
Block a user