// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package edu.wpi.first.units; // technically, angles are unitless dimensions // eg Mass * Distance * Velocity is equivalent to (Mass * Distance) / Time - otherwise known // as Power - in other words, Velocity is /actually/ Frequency public class Angle extends Unit { /** * Creates a new unit with the given name and multiplier to the base unit. * * @param baseUnitEquivalent the multiplier to convert this unit to the base unit of this type * @param name the name of the angle measure * @param symbol the symbol of the angle measure */ Angle(double baseUnitEquivalent, String name, String symbol) { super(Angle.class, baseUnitEquivalent, name, symbol); } Angle( UnaryFunction toBaseConverter, UnaryFunction fromBaseConverter, String name, String symbol) { super(Angle.class, toBaseConverter, fromBaseConverter, name, symbol); } }