public class AnglePlaneUnit extends Unit<AnglePlaneUnit>
Copyright (c) 2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
static AnglePlaneUnit |
ARCMINUTE
arcminute.
|
static AnglePlaneUnit |
ARCSECOND
arcsecond.
|
static AnglePlaneUnit |
CENTESIMAL_ARCMINUTE
centesimal arcminute.
|
static AnglePlaneUnit |
CENTESIMAL_ARCSECOND
centesimal arcsecond.
|
static AnglePlaneUnit |
DEGREE
degree.
|
static AnglePlaneUnit |
GRAD
grad.
|
static AnglePlaneUnit |
RADIAN
radian.
|
static AnglePlaneUnit |
SI
The SI unit for plane angle is radian.
|
Constructor and Description |
---|
AnglePlaneUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Build a standard unit.
|
AnglePlaneUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem,
AnglePlaneUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a unit by converting it from another unit.
|
Modifier and Type | Method and Description |
---|---|
String |
getSICoefficientsString() |
AnglePlaneUnit |
getStandardUnit() |
getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getConversionFactorToStandardUnit, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toString
public static final AnglePlaneUnit SI
public static final AnglePlaneUnit RADIAN
public static final AnglePlaneUnit DEGREE
public static final AnglePlaneUnit ARCMINUTE
public static final AnglePlaneUnit ARCSECOND
public static final AnglePlaneUnit GRAD
public static final AnglePlaneUnit CENTESIMAL_ARCMINUTE
public static final AnglePlaneUnit CENTESIMAL_ARCSECOND
public AnglePlaneUnit(String nameKey, String abbreviationKey, UnitSystem unitSystem)
nameKey
- the key to the locale file for the long name of the unitabbreviationKey
- the key to the locale file for the abbreviation of the unitunitSystem
- the unit system, e.g. SI or Imperialpublic AnglePlaneUnit(String nameKey, String abbreviationKey, UnitSystem unitSystem, AnglePlaneUnit referenceUnit, double conversionFactorToReferenceUnit)
nameKey
- the key to the locale file for the long name of the unitabbreviationKey
- the key to the locale file for the abbreviation of the unitunitSystem
- the unit system, e.g. SI or ImperialreferenceUnit
- the unit to convert toconversionFactorToReferenceUnit
- multiply a value in this unit by the factor to convert to the given
reference unitpublic final AnglePlaneUnit getStandardUnit()
getStandardUnit
in class Unit<AnglePlaneUnit>
public final String getSICoefficientsString()
getSICoefficientsString
in class Unit<AnglePlaneUnit>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.