Record Class AngularVelocity

java.lang.Object
java.lang.Record
org.wpilib.units.measure.AngularVelocity
All Implemented Interfaces:
Comparable<Measure<AngularVelocityUnit>>, Measure<AngularVelocityUnit>

public record AngularVelocity(double magnitude, double baseUnitMagnitude, AngularVelocityUnit unit) extends Record implements Measure<AngularVelocityUnit>
  • Constructor Details

    • AngularVelocity

      public AngularVelocity(double magnitude, double baseUnitMagnitude, AngularVelocityUnit unit)
      Creates an instance of a AngularVelocity record class.
      Parameters:
      magnitude - the value for the magnitude record component
      baseUnitMagnitude - the value for the baseUnitMagnitude record component
      unit - the value for the unit record component
  • Method Details