Class: UnitType
Defined in: src/sdk/math/NumberUnit.ts:939
Predefined unit types.
Constructors
Constructor
new UnitType():
UnitType
Returns
UnitType
Properties
ARC_MIN
readonlystaticARC_MIN:SimpleUnit<Angle>
Defined in: src/sdk/math/NumberUnit.ts:957
ARC_SEC
readonlystaticARC_SEC:SimpleUnit<Angle>
Defined in: src/sdk/math/NumberUnit.ts:958
ATM
readonlystaticATM:SimpleUnit<Pressure>
Defined in: src/sdk/math/NumberUnit.ts:980
Atmosphere.
CELSIUS
readonlystaticCELSIUS:SimpleUnit<Temperature>
Defined in: src/sdk/math/NumberUnit.ts:989
CENTIMETER
readonlystaticCENTIMETER:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:941
DEGREE
readonlystaticDEGREE:SimpleUnit<Angle>
Defined in: src/sdk/math/NumberUnit.ts:956
DELTA_CELSIUS
readonlystaticDELTA_CELSIUS:SimpleUnit<TemperatureDelta>
Defined in: src/sdk/math/NumberUnit.ts:994
Change in degrees Celsius.
DELTA_FAHRENHEIT
readonlystaticDELTA_FAHRENHEIT:SimpleUnit<TemperatureDelta>
Defined in: src/sdk/math/NumberUnit.ts:996
Change in degrees Fahrenheit.
FAHRENHEIT
readonlystaticFAHRENHEIT:SimpleUnit<Temperature>
Defined in: src/sdk/math/NumberUnit.ts:990
FOOT
readonlystaticFOOT:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:944
FOOT_PER_NMILE
readonlystaticFOOT_PER_NMILE:CompoundUnit<DistanceRatio>
Defined in: src/sdk/math/NumberUnit.ts:1041
One foot per nautical mile.
FPM
readonlystaticFPM:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1008
Foot per minute.
FPM_PER_SEC
readonlystaticFPM_PER_SEC:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1017
Foot per minute per second.
FPS
readonlystaticFPS:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1010
Foot per second.
FPS_PER_SEC
readonlystaticFPS_PER_SEC:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1019
Foot per second per second.
G_ACCEL
readonlystaticG_ACCEL:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1023
Average gravitational acceleration on Earth at sea level.
GA_RADIAN
readonlystaticGA_RADIAN:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:950
Great-arc radian. The average radius of Earth.
GALLON
readonlystaticGALLON:SimpleUnit<Volume>
Defined in: src/sdk/math/NumberUnit.ts:972
GALLON_100LL_FUEL
readonlystaticGALLON_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
readonlystaticGALLON_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
readonlystaticGALLON_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
readonlystaticGALLON_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
readonlystaticGPH_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
readonlystaticGPH_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
readonlystaticGPH_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
readonlystaticGPH_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
readonlystaticHOUR:SimpleUnit<Duration>
Defined in: src/sdk/math/NumberUnit.ts:963
HPA
readonlystaticHPA:SimpleUnit<Pressure>
Defined in: src/sdk/math/NumberUnit.ts:976
Hectopascal.
IGPH_100LL_FUEL
readonlystaticIGPH_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
readonlystaticIGPH_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
readonlystaticIGPH_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
readonlystaticIGPH_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
readonlystaticIMP_GALLON:SimpleUnit<Volume>
Defined in: src/sdk/math/NumberUnit.ts:973
IMP_GALLON_100LL_FUEL
readonlystaticIMP_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
readonlystaticIMP_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
readonlystaticIMP_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
readonlystaticIMP_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
readonlystaticIN_HG:SimpleUnit<Pressure>
Defined in: src/sdk/math/NumberUnit.ts:982
Inch of mercury.
INCH
readonlystaticINCH:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:943
KELVIN
readonlystaticKELVIN:SimpleUnit<Temperature>
Defined in: src/sdk/math/NumberUnit.ts:988
KG_PER_M3
readonlystaticKG_PER_M3:CompoundUnit<Density>
Defined in: src/sdk/math/NumberUnit.ts:1033
Density in kilograms per cubic meter
KGH
readonlystaticKGH:CompoundUnit<WeightFlux>
Defined in: src/sdk/math/NumberUnit.ts:1026
Kilogram per hour.
KILOGRAM
readonlystaticKILOGRAM:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:965
KILOMETER
readonlystaticKILOMETER:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:942
KNOT
readonlystaticKNOT:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:998
KNOT_PER_SEC
readonlystaticKNOT_PER_SEC:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1021
Knot per second.
KPH
readonlystaticKPH:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1000
Kilometer per hour.
LITER
readonlystaticLITER:SimpleUnit<Volume>
Defined in: src/sdk/math/NumberUnit.ts:971
LITER_100LL_FUEL
readonlystaticLITER_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
readonlystaticLITER_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
readonlystaticLITER_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
readonlystaticLITER_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
readonlystaticLPH_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
readonlystaticLPH_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
readonlystaticLPH_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
readonlystaticLPH_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
readonlystaticMB:SimpleUnit<Pressure>
Defined in: src/sdk/math/NumberUnit.ts:978
Millibar.
METER
readonlystaticMETER:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:940
MILE
readonlystaticMILE:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:946
Statute mile.
MILE_PER_GALLON_100LL_FUEL
readonlystaticMILE_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
readonlystaticMILE_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
readonlystaticMILE_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
readonlystaticMILE_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
readonlystaticMILLISECOND:SimpleUnit<Duration>
Defined in: src/sdk/math/NumberUnit.ts:960
MINUTE
readonlystaticMINUTE:SimpleUnit<Duration>
Defined in: src/sdk/math/NumberUnit.ts:962
MM_HG
readonlystaticMM_HG:SimpleUnit<Pressure>
Defined in: src/sdk/math/NumberUnit.ts:984
Millimeter of mercury.
MPH
readonlystaticMPH:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1002
Miles per hour.
MPM
readonlystaticMPM:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1004
Meter per minute.
MPM_PER_SEC
readonlystaticMPM_PER_SEC:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1013
Meter per minute per second.
MPS
readonlystaticMPS:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1006
Meter per second.
MPS_PER_SEC
readonlystaticMPS_PER_SEC:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1015
Meter per second per second.
NEWTON
readonlystaticNEWTON:CompoundUnit<Force>
Defined in: src/sdk/math/NumberUnit.ts:1036
Newton.
NMILE
readonlystaticNMILE:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:948
Nautical mile.
NMILE_PER_GALLON_100LL_FUEL
readonlystaticNMILE_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
readonlystaticNMILE_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
readonlystaticNMILE_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
readonlystaticNMILE_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
readonlystaticPOUND:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:966
POUND_FORCE
readonlystaticPOUND_FORCE:CompoundUnit<Force>
Defined in: src/sdk/math/NumberUnit.ts:1038
Pound (force).
PPH
readonlystaticPPH:CompoundUnit<WeightFlux>
Defined in: src/sdk/math/NumberUnit.ts:1028
Pound per hour.
PSI
readonlystaticPSI:SimpleUnit<Pressure>
Defined in: src/sdk/math/NumberUnit.ts:986
Pound per square inch.
RADIAN
readonlystaticRADIAN:SimpleUnit<Angle>
Defined in: src/sdk/math/NumberUnit.ts:955
RANKINE
readonlystaticRANKINE:SimpleUnit<Temperature>
Defined in: src/sdk/math/NumberUnit.ts:991
SECOND
readonlystaticSECOND:SimpleUnit<Duration>
Defined in: src/sdk/math/NumberUnit.ts:961
SLUG
readonlystaticSLUG:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:967
SLUG_PER_FT3
readonlystaticSLUG_PER_FT3:CompoundUnit<Density>
Defined in: src/sdk/math/NumberUnit.ts:1031
Density in slugs per cubic foot
TON
readonlystaticTON:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:968
TONNE
readonlystaticTONNE:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:969
Methods
createFuelWeightUnit()
staticcreateFuelWeightUnit(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.