public class AnglePlaneUnit extends Unit<AnglePlaneUnit>
Copyright (c) 2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2015-10-04 20:48:33 +0200 (Sun, 04 Oct 2015) $, @version $Revision: 87 $, by $Author: averbraeck $, initial
version May 15, 2014
| 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 name,
String abbreviation,
UnitSystem unitSystem,
AnglePlaneUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSICoefficientsString() |
AnglePlaneUnit |
getStandardUnit() |
static double |
normalize(double angle)
Normalize an angle between 0 and 2 * PI.
|
static DoubleScalar.Abs<AnglePlaneUnit> |
normalize(DoubleScalar.Abs<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
static DoubleScalar.Rel<AnglePlaneUnit> |
normalize(DoubleScalar.Rel<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
static float |
normalize(float angle)
Normalize an angle between 0 and 2 * PI.
|
static FloatScalar.Abs<AnglePlaneUnit> |
normalize(FloatScalar.Abs<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
static FloatScalar.Rel<AnglePlaneUnit> |
normalize(FloatScalar.Rel<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
equals, getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getConversionFactorToStandardUnit, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, hashCode, isLocalizable, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toStringpublic 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 name, String abbreviation, UnitSystem unitSystem, AnglePlaneUnit referenceUnit, double conversionFactorToReferenceUnit)
name - the long name of the unitabbreviation - 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>public static double normalize(double angle)
angle - original angle.public static float normalize(float angle)
angle - original angle.public static DoubleScalar.Abs<AnglePlaneUnit> normalize(DoubleScalar.Abs<AnglePlaneUnit> angle)
angle - original angle.public static DoubleScalar.Rel<AnglePlaneUnit> normalize(DoubleScalar.Rel<AnglePlaneUnit> angle)
angle - original angle.public static FloatScalar.Abs<AnglePlaneUnit> normalize(FloatScalar.Abs<AnglePlaneUnit> angle)
angle - original angle.public static FloatScalar.Rel<AnglePlaneUnit> normalize(FloatScalar.Rel<AnglePlaneUnit> angle)
angle - original angle.Copyright © 2015 Delft University of Technology. All rights reserved.