Class Dimensionless

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

public class Dimensionless
extends Unit<Dimensionless>
A type of unit that corresponds to raw values and not any physical dimension, such as percentage.
  • Constructor Details

    • Dimensionless

      protected Dimensionless​(double baseUnitEquivalent, String name, String symbol)
      Creates a new unit with the given name and multiplier to the base unit.
      Parameters:
      baseUnitEquivalent - the multiplier to convert this unit to the base unit of this type.
      name - the name of the unit
      symbol - the symbol of the unit