java.lang.Object
frc.team_8840_lib.utils.math.units.Unit

public class Unit extends Object
  • Constructor Details

    • Unit

      public Unit(double value, Unit.Type type)
  • Method Details

    • set

      public void set(double value)
    • set

      public void set(double value, Unit.Type type)
    • to

      public double to(Unit.Type type)
    • get

      public double get(Unit.Type type)
    • get

      public double get()
    • getCU

      public double getCU(double customUnit, Unit.Type fromType)
    • add

      public Unit add(Unit value)