public class AngleSolidUnit extends LinearUnit<AngleSolidUnit>
Copyright (c) 2015-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2019-01-18 00:35:01 +0100 (Fri, 18 Jan 2019) $, @version $Revision: 324 $, by $Author: averbraeck $,
initial version May 15, 2014
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.
|
STANDARD_UNITS
Constructor and Description |
---|
AngleSolidUnit(String name,
String abbreviation,
UnitSystem unitSystem,
AngleSolidUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
Modifier and Type | Method and Description |
---|---|
String |
getSICoefficientsString() |
AngleSolidUnit |
getStandardUnit() |
equals, equalsIgnoreNaming, getScale, getScaleFactor, hashCode
generateHashCode, getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, isBaseSIUnit, isLocalizable, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toString
public static final AngleSolidUnit SI
public static final AngleSolidUnit STERADIAN
public static final AngleSolidUnit SQUARE_DEGREE
public AngleSolidUnit(String name, String abbreviation, UnitSystem unitSystem, AngleSolidUnit referenceUnit, double scaleFactorToReferenceUnit)
name
- String; the long name of the unitabbreviation
- String; the abbreviation of the unitunitSystem
- UnitSystem; the unit system, e.g. SI or ImperialreferenceUnit
- AngleSolidUnit; the unit to convert toscaleFactorToReferenceUnit
- double; 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 © 2015–2019 Delft University of Technology. All rights reserved.