public class AngleSolidUnit extends Unit<AngleSolidUnit>
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 AngleSolidUnit |
SI
The SI unit for solid angle is steradian.
|
static AngleSolidUnit |
SQUARE_DEGREE
square degree.
|
static AngleSolidUnit |
STERADIAN
steradian.
|
Constructor and Description |
---|
AngleSolidUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Build a standard unit.
|
AngleSolidUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem,
AngleSolidUnit referenceUnit,
double conversionFactorToReferenceUnit)
Construct a derived unit as a conversion from another unit.
|
Modifier and Type | Method and Description |
---|---|
String |
getSICoefficientsString() |
AngleSolidUnit |
getStandardUnit() |
getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getConversionFactorToStandardUnit, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toString
public static final AngleSolidUnit SI
public static final AngleSolidUnit STERADIAN
public static final AngleSolidUnit SQUARE_DEGREE
public AngleSolidUnit(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 AngleSolidUnit(String nameKey, String abbreviationKey, UnitSystem unitSystem, AngleSolidUnit 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 AngleSolidUnit getStandardUnit()
getStandardUnit
in class Unit<AngleSolidUnit>
public final String getSICoefficientsString()
getSICoefficientsString
in class Unit<AngleSolidUnit>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.