Package org.djunits.unit
Class PositionUnit
- All Implemented Interfaces:
Serializable
,Cloneable
public class PositionUnit extends AbsoluteLinearUnit<PositionUnit,LengthUnit>
Standard absolute position units.
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 PositionUnit
ANGSTROM
Angstrom = 10^-10 m.static PositionUnit
ASTRONOMICAL_UNIT
Astronomical Unit = 149,597,870,700 m.static Quantity<PositionUnit>
BASE
The base, with "m" as the SI signature.static PositionUnit
CENTIMETER
cm.static PositionUnit
DECAMETER
dam.static PositionUnit
DECIMETER
dm.static PositionUnit
DEFAULT
The SI unit for position is meter.static PositionUnit
FOOT
foot (international) = 0.3048 m = 1/3 yd = 12 inches.static PositionUnit
HECTOMETER
hm.static PositionUnit
INCH
inch (international) = 2.54 cm = 1/36 yd = 1/12 ft.static PositionUnit
KILOMETER
km.static PositionUnit
LIGHTYEAR
Lightyear = 9,460,730,472,580,800 m.static PositionUnit
METER
meter.static PositionUnit
MICROMETER
µm.static PositionUnit
MILE
mile (international) = 5280 ft = 1760 yd.static PositionUnit
MILLIMETER
mm.static PositionUnit
NANOMETER
nm.static PositionUnit
NAUTICAL_MILE
nautical mile (international) = 1852 m.static PositionUnit
PARSEC
Parsec = 648,000 / PI ly.static PositionUnit
YARD
yard (international) = 0.9144 m = 3 ft = 36 in. -
Constructor Summary
Constructors Constructor Description PositionUnit()
-
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 Details
-
BASE
The base, with "m" as the SI signature. -
DEFAULT
The SI unit for position is meter. -
METER
meter. -
NANOMETER
nm. -
MICROMETER
µm. -
MILLIMETER
mm. -
CENTIMETER
cm. -
DECIMETER
dm. -
DECAMETER
dam. -
HECTOMETER
hm. -
KILOMETER
km. -
FOOT
foot (international) = 0.3048 m = 1/3 yd = 12 inches. -
INCH
inch (international) = 2.54 cm = 1/36 yd = 1/12 ft. -
YARD
yard (international) = 0.9144 m = 3 ft = 36 in. -
MILE
mile (international) = 5280 ft = 1760 yd. -
NAUTICAL_MILE
nautical mile (international) = 1852 m. -
ASTRONOMICAL_UNIT
Astronomical Unit = 149,597,870,700 m. -
LIGHTYEAR
Lightyear = 9,460,730,472,580,800 m. -
PARSEC
Parsec = 648,000 / PI ly. -
ANGSTROM
Angstrom = 10^-10 m.
-
-
Constructor Details
-
PositionUnit
public PositionUnit()
-