Package org.djunits.unit
Class DirectionUnit
- All Implemented Interfaces:
Serializable
,Cloneable
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-2024 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:
-
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
Modifier and TypeFieldDescriptionstatic final Quantity<DirectionUnit>
The base, with "rad" as the SI signature.static final DirectionUnit
The default unit for direction is East_Radian.static final DirectionUnit
The unit for direction with East as the origin and degrees as the displacement.static final DirectionUnit
The unit for direction with East as the origin and radians as the displacement.static final DirectionUnit
The unit for direction with North as the origin and degrees as the displacement.static final DirectionUnit
The unit for direction with North as the origin and radians as the displacement. -
Constructor Summary
-
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, getDefaultAbbreviations, getDefaultDisplayAbbreviation, getDefaultTextualAbbreviation, getId, getLocalizedAbbreviations, getLocalizedDisplayAbbreviation, getLocalizedTextualAbbreviation, getName, getQuantity, getStandardUnit, getUnit, getUnitSystem, hashCode, isBaseSIUnit, isGenerated, lookupOrCreateUnitWithSIDimensions, toString
-
Field Details
-
BASE
The base, with "rad" as the SI signature. -
EAST_RADIAN
The unit for direction with East as the origin and radians as the displacement. -
DEFAULT
The default unit for direction is East_Radian. -
EAST_DEGREE
The unit for direction with East as the origin and degrees as the displacement. -
NORTH_RADIAN
The unit for direction with North as the origin and radians as the displacement. -
NORTH_DEGREE
The unit for direction with North as the origin and degrees as the displacement.
-
-
Constructor Details
-
DirectionUnit
public DirectionUnit()
-