Package org.djunits.unit
Class DirectionUnit
- java.lang.Object
-
- org.djunits.unit.Unit<AU>
-
- org.djunits.unit.AbsoluteLinearUnit<DirectionUnit,AngleUnit>
-
- org.djunits.unit.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.djunits.unit.AbsoluteLinearUnit
AbsoluteLinearUnit.Builder<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
-
-
Field Summary
Fields Modifier and Type Field Description static Quantity<DirectionUnit>
BASE
The base, with "rad" as the SI signature.static DirectionUnit
DEFAULT
The default unit for direction is East_Radian.static DirectionUnit
EAST_DEGREE
The unit for direction with East as the origin and degrees as the displacement.static DirectionUnit
EAST_RADIAN
The unit for direction with East as the origin and radians as the displacement.static DirectionUnit
NORTH_DEGREE
The unit for direction with North as the origin and degrees as the displacement.static DirectionUnit
NORTH_RADIAN
The unit for direction with North as the origin and radians as the displacement.
-
Constructor Summary
Constructors Constructor Description DirectionUnit()
-
Method Summary
-
Methods inherited from class org.djunits.unit.AbsoluteLinearUnit
build, deriveLinearOffset, deriveLinearOffset, deriveLinearOffset, getRelativeQuantity, getRelativeUnit, getScale, makeBuilder
-
Methods inherited from class org.djunits.unit.Unit
clone, deriveLinear, deriveLinear, deriveLinear, derivePerSI, deriveSI, deriveSI, deriveSIKilo, equals, getAbbreviations, getDefaultDisplayAbbreviation, getDefaultTextualAbbreviation, getId, getName, getQuantity, getStandardUnit, getUnit, getUnitSystem, hashCode, isBaseSIUnit, isGenerated, lookupOrCreateUnitWithSIDimensions, toString
-
-
-
-
Field Detail
-
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.
-
-