public class AngleSlopeUnit extends Unit<AngleSlopeUnit>
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 AngleSlopeUnit |
ARCMINUTE
arcminute.
|
static AngleSlopeUnit |
ARCSECOND
arcsecond.
|
static AngleSlopeUnit |
CENTESIMAL_ARCMINUTE
centesimal arcminute.
|
static AngleSlopeUnit |
CENTESIMAL_ARCSECOND
centesimal arcsecond.
|
static AngleSlopeUnit |
DEGREE
degree.
|
static AngleSlopeUnit |
GRAD
grad.
|
static AngleSlopeUnit |
RADIAN
radian.
|
static AngleSlopeUnit |
SI
The SI unit for slope angle is radian.
|
Constructor and Description |
---|
AngleSlopeUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Build a standard unit.
|
AngleSlopeUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem,
AngleSlopeUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a unit by converting it from another unit.
|
Modifier and Type | Method and Description |
---|---|
String |
getSICoefficientsString() |
AngleSlopeUnit |
getStandardUnit() |
getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getConversionFactorToStandardUnit, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toString
public static final AngleSlopeUnit SI
public static final AngleSlopeUnit RADIAN
public static final AngleSlopeUnit DEGREE
public static final AngleSlopeUnit ARCMINUTE
public static final AngleSlopeUnit ARCSECOND
public static final AngleSlopeUnit GRAD
public static final AngleSlopeUnit CENTESIMAL_ARCMINUTE
public static final AngleSlopeUnit CENTESIMAL_ARCSECOND
public AngleSlopeUnit(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 AngleSlopeUnit(String nameKey, String abbreviationKey, UnitSystem unitSystem, AngleSlopeUnit 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 AngleSlopeUnit getStandardUnit()
getStandardUnit
in class Unit<AngleSlopeUnit>
public final String getSICoefficientsString()
getSICoefficientsString
in class Unit<AngleSlopeUnit>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.