Class: UnitType
Defined in: src/sdk/math/NumberUnit.ts:939
Predefined unit types.
Constructors
Constructor
new UnitType():
UnitType
Returns
UnitType
Properties
ARC_MIN
readonly
static
ARC_MIN:SimpleUnit
<Angle
>
Defined in: src/sdk/math/NumberUnit.ts:957
ARC_SEC
readonly
static
ARC_SEC:SimpleUnit
<Angle
>
Defined in: src/sdk/math/NumberUnit.ts:958
ATM
readonly
static
ATM:SimpleUnit
<Pressure
>
Defined in: src/sdk/math/NumberUnit.ts:980
Atmosphere.
CELSIUS
readonly
static
CELSIUS:SimpleUnit
<Temperature
>
Defined in: src/sdk/math/NumberUnit.ts:989
CENTIMETER
readonly
static
CENTIMETER:SimpleUnit
<Distance
>
Defined in: src/sdk/math/NumberUnit.ts:941
DEGREE
readonly
static
DEGREE:SimpleUnit
<Angle
>
Defined in: src/sdk/math/NumberUnit.ts:956
DELTA_CELSIUS
readonly
static
DELTA_CELSIUS:SimpleUnit
<TemperatureDelta
>
Defined in: src/sdk/math/NumberUnit.ts:994
Change in degrees Celsius.
DELTA_FAHRENHEIT
readonly
static
DELTA_FAHRENHEIT:SimpleUnit
<TemperatureDelta
>
Defined in: src/sdk/math/NumberUnit.ts:996
Change in degrees Fahrenheit.
FAHRENHEIT
readonly
static
FAHRENHEIT:SimpleUnit
<Temperature
>
Defined in: src/sdk/math/NumberUnit.ts:990
FOOT
readonly
static
FOOT:SimpleUnit
<Distance
>
Defined in: src/sdk/math/NumberUnit.ts:944
FOOT_PER_NMILE
readonly
static
FOOT_PER_NMILE:CompoundUnit
<DistanceRatio
>
Defined in: src/sdk/math/NumberUnit.ts:1041
One foot per nautical mile.
FPM
readonly
static
FPM:CompoundUnit
<Speed
>
Defined in: src/sdk/math/NumberUnit.ts:1008
Foot per minute.
FPM_PER_SEC
readonly
static
FPM_PER_SEC:CompoundUnit
<Acceleration
>
Defined in: src/sdk/math/NumberUnit.ts:1017
Foot per minute per second.
FPS
readonly
static
FPS:CompoundUnit
<Speed
>
Defined in: src/sdk/math/NumberUnit.ts:1010
Foot per second.
FPS_PER_SEC
readonly
static
FPS_PER_SEC:CompoundUnit
<Acceleration
>
Defined in: src/sdk/math/NumberUnit.ts:1019
Foot per second per second.
G_ACCEL
readonly
static
G_ACCEL:CompoundUnit
<Acceleration
>
Defined in: src/sdk/math/NumberUnit.ts:1023
Average gravitational acceleration on Earth at sea level.
GA_RADIAN
readonly
static
GA_RADIAN:SimpleUnit
<Distance
>
Defined in: src/sdk/math/NumberUnit.ts:950
Great-arc radian. The average radius of Earth.
GALLON
readonly
static
GALLON:SimpleUnit
<Volume
>
Defined in: src/sdk/math/NumberUnit.ts:972
GALLON_100LL_FUEL
readonly
static
GALLON_100LL_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1060
Weight equivalent of one gallon of 100LL fuel, using the standard conversion 1 gallon = 6.0 pounds.
GALLON_AUTOGAS_FUEL
readonly
static
GALLON_AUTOGAS_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1066
Weight equivalent of one gallon of autogas fuel, using the standard conversion 1 gallon = 6.0 pounds.
GALLON_FUEL
readonly
static
GALLON_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1048
Weight equivalent of one gallon of fuel, using the generic conversion 1 gallon = 6.7 pounds.
GALLON_JET_A_FUEL
readonly
static
GALLON_JET_A_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1054
Weight equivalent of one gallon of Jet-A fuel, using the standard conversion 1 gallon = 6.7 pounds.
GPH_100LL_FUEL
readonly
static
GPH_100LL_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1085
Weight equivalent of one gallon of 100LL fuel per hour, using the standard conversion 1 gallon = 6.0 pounds.
GPH_AUTOGAS_FUEL
readonly
static
GPH_AUTOGAS_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1091
Weight equivalent of one gallon of autogas fuel per hour, using the standard conversion 1 gallon = 6.0 pounds.
GPH_FUEL
readonly
static
GPH_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1073
Weight equivalent of one gallon of fuel per hour, using the generic conversion 1 gallon = 6.7 pounds.
GPH_JET_A_FUEL
readonly
static
GPH_JET_A_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1079
Weight equivalent of one gallon of Jet-A fuel per hour, using the standard conversion 1 gallon = 6.7 pounds.
HOUR
readonly
static
HOUR:SimpleUnit
<Duration
>
Defined in: src/sdk/math/NumberUnit.ts:963
HPA
readonly
static
HPA:SimpleUnit
<Pressure
>
Defined in: src/sdk/math/NumberUnit.ts:976
Hectopascal.
IGPH_100LL_FUEL
readonly
static
IGPH_100LL_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1087
Weight equivalent of one imperial gallon of 100LL fuel per hour, using the standard conversion 1 gallon = 6.0 pounds.
IGPH_AUTOGAS_FUEL
readonly
static
IGPH_AUTOGAS_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1093
Weight equivalent of one imperial gallon of autogas fuel per hour, using the standard conversion 1 gallon = 6.0 pounds.
IGPH_FUEL
readonly
static
IGPH_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1075
Weight equivalent of one imperial gallon of fuel per hour, using the generic conversion 1 gallon = 6.7 pounds.
IGPH_JET_A_FUEL
readonly
static
IGPH_JET_A_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1081
Weight equivalent of one imperial gallon of Jet-A fuel per hour, using the standard conversion 1 gallon = 6.7 pounds.
IMP_GALLON
readonly
static
IMP_GALLON:SimpleUnit
<Volume
>
Defined in: src/sdk/math/NumberUnit.ts:973
IMP_GALLON_100LL_FUEL
readonly
static
IMP_GALLON_100LL_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1062
Weight equivalent of one imperial gallon of 100LL fuel, using the standard conversion 1 gallon = 6.0 pounds.
IMP_GALLON_AUTOGAS_FUEL
readonly
static
IMP_GALLON_AUTOGAS_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1068
Weight equivalent of one imperial gallon of autogas fuel, using the standard conversion 1 gallon = 6.0 pounds.
IMP_GALLON_FUEL
readonly
static
IMP_GALLON_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1050
Weight equivalent of one imperial gallon of fuel, using the generic conversion 1 gallon = 6.7 pounds.
IMP_GALLON_JET_A_FUEL
readonly
static
IMP_GALLON_JET_A_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1056
Weight equivalent of one imperial gallon of Jet-A fuel, using the standard conversion 1 gallon = 6.7 pounds.
IN_HG
readonly
static
IN_HG:SimpleUnit
<Pressure
>
Defined in: src/sdk/math/NumberUnit.ts:982
Inch of mercury.
INCH
readonly
static
INCH:SimpleUnit
<Distance
>
Defined in: src/sdk/math/NumberUnit.ts:943
KELVIN
readonly
static
KELVIN:SimpleUnit
<Temperature
>
Defined in: src/sdk/math/NumberUnit.ts:988
KG_PER_M3
readonly
static
KG_PER_M3:CompoundUnit
<Density
>
Defined in: src/sdk/math/NumberUnit.ts:1033
Density in kilograms per cubic meter
KGH
readonly
static
KGH:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1026
Kilogram per hour.
KILOGRAM
readonly
static
KILOGRAM:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:965
KILOMETER
readonly
static
KILOMETER:SimpleUnit
<Distance
>
Defined in: src/sdk/math/NumberUnit.ts:942
KNOT
readonly
static
KNOT:CompoundUnit
<Speed
>
Defined in: src/sdk/math/NumberUnit.ts:998
KNOT_PER_SEC
readonly
static
KNOT_PER_SEC:CompoundUnit
<Acceleration
>
Defined in: src/sdk/math/NumberUnit.ts:1021
Knot per second.
KPH
readonly
static
KPH:CompoundUnit
<Speed
>
Defined in: src/sdk/math/NumberUnit.ts:1000
Kilometer per hour.
LITER
readonly
static
LITER:SimpleUnit
<Volume
>
Defined in: src/sdk/math/NumberUnit.ts:971
LITER_100LL_FUEL
readonly
static
LITER_100LL_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1058
Weight equivalent of one liter of 100LL fuel, using the standard conversion 1 gallon = 6.0 pounds.
LITER_AUTOGAS_FUEL
readonly
static
LITER_AUTOGAS_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1064
Weight equivalent of one liter of autogas fuel, using the standard conversion 1 gallon = 6.0 pounds.
LITER_FUEL
readonly
static
LITER_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1046
Weight equivalent of one liter of fuel, using the generic conversion 1 gallon = 6.7 pounds.
LITER_JET_A_FUEL
readonly
static
LITER_JET_A_FUEL:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:1052
Weight equivalent of one liter of Jet-A fuel, using the standard conversion 1 gallon = 6.7 pounds.
LPH_100LL_FUEL
readonly
static
LPH_100LL_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1083
Weight equivalent of one liter of 100LL fuel per hour, using the standard conversion 1 gallon = 6.0 pounds.
LPH_AUTOGAS_FUEL
readonly
static
LPH_AUTOGAS_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1089
Weight equivalent of one liter of autogas fuel per hour, using the standard conversion 1 gallon = 6.0 pounds.
LPH_FUEL
readonly
static
LPH_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1071
Weight equivalent of one liter of fuel per hour, using the generic conversion 1 gallon = 6.7 pounds.
LPH_JET_A_FUEL
readonly
static
LPH_JET_A_FUEL:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1077
Weight equivalent of one liter of Jet-A fuel per hour, using the standard conversion 1 gallon = 6.7 pounds.
MB
readonly
static
MB:SimpleUnit
<Pressure
>
Defined in: src/sdk/math/NumberUnit.ts:978
Millibar.
METER
readonly
static
METER:SimpleUnit
<Distance
>
Defined in: src/sdk/math/NumberUnit.ts:940
MILE
readonly
static
MILE:SimpleUnit
<Distance
>
Defined in: src/sdk/math/NumberUnit.ts:946
Statute mile.
MILE_PER_GALLON_100LL_FUEL
readonly
static
MILE_PER_GALLON_100LL_FUEL:CompoundUnit
<DistancePerWeight
>
Defined in: src/sdk/math/NumberUnit.ts:1104
One statute mile per weight equivalent of one gallon of 100LL fuel, using the standard conversion 1 gallon = 6.0 pounds.
MILE_PER_GALLON_AUTOGAS_FUEL
readonly
static
MILE_PER_GALLON_AUTOGAS_FUEL:CompoundUnit
<DistancePerWeight
>
Defined in: src/sdk/math/NumberUnit.ts:1108
One statute mile per weight equivalent of one gallon of autogas fuel, using the standard conversion 1 gallon = 6.0 pounds.
MILE_PER_GALLON_FUEL
readonly
static
MILE_PER_GALLON_FUEL:CompoundUnit
<DistancePerWeight
>
Defined in: src/sdk/math/NumberUnit.ts:1096
One statute mile per weight equivalent of one gallon of fuel, using the generic conversion 1 gallon = 6.7 pounds.
MILE_PER_GALLON_JET_A_FUEL
readonly
static
MILE_PER_GALLON_JET_A_FUEL:CompoundUnit
<DistancePerWeight
>
Defined in: src/sdk/math/NumberUnit.ts:1100
One statute mile per weight equivalent of one gallon of Jet-A fuel, using the standard conversion 1 gallon = 6.7 pounds.
MILLISECOND
readonly
static
MILLISECOND:SimpleUnit
<Duration
>
Defined in: src/sdk/math/NumberUnit.ts:960
MINUTE
readonly
static
MINUTE:SimpleUnit
<Duration
>
Defined in: src/sdk/math/NumberUnit.ts:962
MM_HG
readonly
static
MM_HG:SimpleUnit
<Pressure
>
Defined in: src/sdk/math/NumberUnit.ts:984
Millimeter of mercury.
MPH
readonly
static
MPH:CompoundUnit
<Speed
>
Defined in: src/sdk/math/NumberUnit.ts:1002
Miles per hour.
MPM
readonly
static
MPM:CompoundUnit
<Speed
>
Defined in: src/sdk/math/NumberUnit.ts:1004
Meter per minute.
MPM_PER_SEC
readonly
static
MPM_PER_SEC:CompoundUnit
<Acceleration
>
Defined in: src/sdk/math/NumberUnit.ts:1013
Meter per minute per second.
MPS
readonly
static
MPS:CompoundUnit
<Speed
>
Defined in: src/sdk/math/NumberUnit.ts:1006
Meter per second.
MPS_PER_SEC
readonly
static
MPS_PER_SEC:CompoundUnit
<Acceleration
>
Defined in: src/sdk/math/NumberUnit.ts:1015
Meter per second per second.
NEWTON
readonly
static
NEWTON:CompoundUnit
<Force
>
Defined in: src/sdk/math/NumberUnit.ts:1036
Newton.
NMILE
readonly
static
NMILE:SimpleUnit
<Distance
>
Defined in: src/sdk/math/NumberUnit.ts:948
Nautical mile.
NMILE_PER_GALLON_100LL_FUEL
readonly
static
NMILE_PER_GALLON_100LL_FUEL:CompoundUnit
<DistancePerWeight
>
Defined in: src/sdk/math/NumberUnit.ts:1106
One nautical mile per weight equivalent of one gallon of 100LL fuel, using the standard conversion 1 gallon = 6.0 pounds.
NMILE_PER_GALLON_AUTOGAS_FUEL
readonly
static
NMILE_PER_GALLON_AUTOGAS_FUEL:CompoundUnit
<DistancePerWeight
>
Defined in: src/sdk/math/NumberUnit.ts:1110
One nautical mile per weight equivalent of one gallon of autogas fuel, using the standard conversion 1 gallon = 6.0 pounds.
NMILE_PER_GALLON_FUEL
readonly
static
NMILE_PER_GALLON_FUEL:CompoundUnit
<DistancePerWeight
>
Defined in: src/sdk/math/NumberUnit.ts:1098
One nautical mile per weight equivalent of one gallon of fuel, using the generic conversion 1 gallon = 6.7 pounds.
NMILE_PER_GALLON_JET_A_FUEL
readonly
static
NMILE_PER_GALLON_JET_A_FUEL:CompoundUnit
<DistancePerWeight
>
Defined in: src/sdk/math/NumberUnit.ts:1102
One nautical mile per weight equivalent of one gallon of Jet-A fuel, using the standard conversion 1 gallon = 6.7 pounds.
POUND
readonly
static
POUND:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:966
POUND_FORCE
readonly
static
POUND_FORCE:CompoundUnit
<Force
>
Defined in: src/sdk/math/NumberUnit.ts:1038
Pound (force).
PPH
readonly
static
PPH:CompoundUnit
<WeightFlux
>
Defined in: src/sdk/math/NumberUnit.ts:1028
Pound per hour.
PSI
readonly
static
PSI:SimpleUnit
<Pressure
>
Defined in: src/sdk/math/NumberUnit.ts:986
Pound per square inch.
RADIAN
readonly
static
RADIAN:SimpleUnit
<Angle
>
Defined in: src/sdk/math/NumberUnit.ts:955
RANKINE
readonly
static
RANKINE:SimpleUnit
<Temperature
>
Defined in: src/sdk/math/NumberUnit.ts:991
SECOND
readonly
static
SECOND:SimpleUnit
<Duration
>
Defined in: src/sdk/math/NumberUnit.ts:961
SLUG
readonly
static
SLUG:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:967
SLUG_PER_FT3
readonly
static
SLUG_PER_FT3:CompoundUnit
<Density
>
Defined in: src/sdk/math/NumberUnit.ts:1031
Density in slugs per cubic foot
TON
readonly
static
TON:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:968
TONNE
readonly
static
TONNE:SimpleUnit
<Weight
>
Defined in: src/sdk/math/NumberUnit.ts:969
Methods
createFuelWeightUnit()
static
createFuelWeightUnit(density
, ...defs
):CompoundableUnit
<Weight
>[]
Defined in: src/sdk/math/NumberUnit.ts:1119
Creates one or more units of weight that are each equivalent to one volume unit of fuel with a given density.
Parameters
Parameter | Type | Description |
---|---|---|
density | number | The fuel density to use, in pounds per gallon. |
...defs | object [] | Definitions for creating the weight units. |
Returns
An array of weight units that are each equivalent to the specified volume unit of fuel with the specified density. The units are returned in the same order as the definitions from which they were created.