Class DirectionUnit

All Implemented Interfaces:
Serializable, Cloneable

public class DirectionUnit
extends AbsoluteLinearUnit<DirectionUnit,​AngleUnit>
Standard direction unit. Several conversion factors have been taken from http://en.wikipedia.org/wiki/Conversion_of_units.

Note that the EAST and NORTH Directions are counterclockwise.

Copyright (c) 2015-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License

Author:
Alexander Verbraeck
See Also:
Serialized Form
  • Field Details

    • BASE

      public static final Quantity<DirectionUnit> BASE
      The base, with "rad" as the SI signature.
    • EAST_RADIAN

      public static final DirectionUnit EAST_RADIAN
      The unit for direction with East as the origin and radians as the displacement.
    • DEFAULT

      public static final DirectionUnit DEFAULT
      The default unit for direction is East_Radian.
    • EAST_DEGREE

      public static final DirectionUnit EAST_DEGREE
      The unit for direction with East as the origin and degrees as the displacement.
    • NORTH_RADIAN

      public static final DirectionUnit NORTH_RADIAN
      The unit for direction with North as the origin and radians as the displacement.
    • NORTH_DEGREE

      public static final DirectionUnit NORTH_DEGREE
      The unit for direction with North as the origin and degrees as the displacement.
  • Constructor Details