Class: UnitType
Defined in: src/sdk/math/NumberUnit.ts:940
Predefined unit types.
Constructors
Constructor
new UnitType():
UnitType
Returns
UnitType
Properties
ARC_MIN
readonlystaticARC_MIN:SimpleUnit<Angle>
Defined in: src/sdk/math/NumberUnit.ts:958
ARC_SEC
readonlystaticARC_SEC:SimpleUnit<Angle>
Defined in: src/sdk/math/NumberUnit.ts:959
ATM
readonlystaticATM:SimpleUnit<Pressure>
Defined in: src/sdk/math/NumberUnit.ts:981
Atmosphere.
CELSIUS
readonlystaticCELSIUS:SimpleUnit<Temperature>
Defined in: src/sdk/math/NumberUnit.ts:990
CENTIMETER
readonlystaticCENTIMETER:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:942
CENTIMETER_SQ
readonlystaticCENTIMETER_SQ:CompoundUnit<Area>
Defined in: src/sdk/math/NumberUnit.ts:1046
DEGREE
readonlystaticDEGREE:SimpleUnit<Angle>
Defined in: src/sdk/math/NumberUnit.ts:957
DELTA_CELSIUS
readonlystaticDELTA_CELSIUS:SimpleUnit<TemperatureDelta>
Defined in: src/sdk/math/NumberUnit.ts:995
Change in degrees Celsius.
DELTA_FAHRENHEIT
readonlystaticDELTA_FAHRENHEIT:SimpleUnit<TemperatureDelta>
Defined in: src/sdk/math/NumberUnit.ts:997
Change in degrees Fahrenheit.
FAHRENHEIT
readonlystaticFAHRENHEIT:SimpleUnit<Temperature>
Defined in: src/sdk/math/NumberUnit.ts:991
FOOT
readonlystaticFOOT:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:945
FOOT_PER_NMILE
readonlystaticFOOT_PER_NMILE:CompoundUnit<DistanceRatio>
Defined in: src/sdk/math/NumberUnit.ts:1042
One foot per nautical mile.
FOOT_SQ
readonlystaticFOOT_SQ:CompoundUnit<Area>
Defined in: src/sdk/math/NumberUnit.ts:1049
FPM
readonlystaticFPM:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1009
Foot per minute.
FPM_PER_SEC
readonlystaticFPM_PER_SEC:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1018
Foot per minute per second.
FPS
readonlystaticFPS:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1011
Foot per second.
FPS_PER_SEC
readonlystaticFPS_PER_SEC:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1020
Foot per second per second.
G_ACCEL
readonlystaticG_ACCEL:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1024
Average gravitational acceleration on Earth at sea level.
GA_RADIAN
readonlystaticGA_RADIAN:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:951
Great-arc radian. The average radius of Earth.
GALLON
readonlystaticGALLON:SimpleUnit<Volume>
Defined in: src/sdk/math/NumberUnit.ts:973
GALLON_100LL_FUEL
readonlystaticGALLON_100LL_FUEL:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:1072
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:1078
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:1060
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:1066
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:1097
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:1103
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:1085
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:1091
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:964
HPA
readonlystaticHPA:SimpleUnit<Pressure>
Defined in: src/sdk/math/NumberUnit.ts:977
Hectopascal.
IGPH_100LL_FUEL
readonlystaticIGPH_100LL_FUEL:CompoundUnit<WeightFlux>
Defined in: src/sdk/math/NumberUnit.ts:1099
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:1105
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:1087
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:1093
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:974
IMP_GALLON_100LL_FUEL
readonlystaticIMP_GALLON_100LL_FUEL:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:1074
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:1080
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:1062
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:1068
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:983
Inch of mercury.
INCH
readonlystaticINCH:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:944
INCH_SQ
readonlystaticINCH_SQ:CompoundUnit<Area>
Defined in: src/sdk/math/NumberUnit.ts:1048
KELVIN
readonlystaticKELVIN:SimpleUnit<Temperature>
Defined in: src/sdk/math/NumberUnit.ts:989
KG_PER_M3
readonlystaticKG_PER_M3:CompoundUnit<Density>
Defined in: src/sdk/math/NumberUnit.ts:1034
Density in kilograms per cubic meter
KGH
readonlystaticKGH:CompoundUnit<WeightFlux>
Defined in: src/sdk/math/NumberUnit.ts:1027
Kilogram per hour.
KILOGRAM
readonlystaticKILOGRAM:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:966
KILOMETER
readonlystaticKILOMETER:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:943
KILOMETER_SQ
readonlystaticKILOMETER_SQ:CompoundUnit<Area>
Defined in: src/sdk/math/NumberUnit.ts:1047
KNOT
readonlystaticKNOT:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:999
KNOT_PER_SEC
readonlystaticKNOT_PER_SEC:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1022
Knot per second.
KPH
readonlystaticKPH:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1001
Kilometer per hour.
LITER
readonlystaticLITER:SimpleUnit<Volume>
Defined in: src/sdk/math/NumberUnit.ts:972
LITER_100LL_FUEL
readonlystaticLITER_100LL_FUEL:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:1070
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:1076
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:1058
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:1064
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:1095
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:1101
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:1083
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:1089
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:979
Millibar.
METER
readonlystaticMETER:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:941
METER_SQ
readonlystaticMETER_SQ:CompoundUnit<Area>
Defined in: src/sdk/math/NumberUnit.ts:1045
Square meter
MILE
readonlystaticMILE:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:947
Statute mile.
MILE_PER_GALLON_100LL_FUEL
readonlystaticMILE_PER_GALLON_100LL_FUEL:CompoundUnit<DistancePerWeight>
Defined in: src/sdk/math/NumberUnit.ts:1116
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:1120
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:1108
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:1112
One statute mile per weight equivalent of one gallon of Jet-A fuel, using the standard conversion 1 gallon = 6.7 pounds.
MILE_SQ
readonlystaticMILE_SQ:CompoundUnit<Area>
Defined in: src/sdk/math/NumberUnit.ts:1051
Statute mile squared.
MILLISECOND
readonlystaticMILLISECOND:SimpleUnit<Duration>
Defined in: src/sdk/math/NumberUnit.ts:961
MINUTE
readonlystaticMINUTE:SimpleUnit<Duration>
Defined in: src/sdk/math/NumberUnit.ts:963
MM_HG
readonlystaticMM_HG:SimpleUnit<Pressure>
Defined in: src/sdk/math/NumberUnit.ts:985
Millimeter of mercury.
MPH
readonlystaticMPH:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1003
Miles per hour.
MPM
readonlystaticMPM:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1005
Meter per minute.
MPM_PER_SEC
readonlystaticMPM_PER_SEC:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1014
Meter per minute per second.
MPS
readonlystaticMPS:CompoundUnit<Speed>
Defined in: src/sdk/math/NumberUnit.ts:1007
Meter per second.
MPS_PER_SEC
readonlystaticMPS_PER_SEC:CompoundUnit<Acceleration>
Defined in: src/sdk/math/NumberUnit.ts:1016
Meter per second per second.
NEWTON
readonlystaticNEWTON:CompoundUnit<Force>
Defined in: src/sdk/math/NumberUnit.ts:1037
Newton.
NMILE
readonlystaticNMILE:SimpleUnit<Distance>
Defined in: src/sdk/math/NumberUnit.ts:949
Nautical mile.
NMILE_PER_GALLON_100LL_FUEL
readonlystaticNMILE_PER_GALLON_100LL_FUEL:CompoundUnit<DistancePerWeight>
Defined in: src/sdk/math/NumberUnit.ts:1118
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:1122
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:1110
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:1114
One nautical mile per weight equivalent of one gallon of Jet-A fuel, using the standard conversion 1 gallon = 6.7 pounds.
NMILE_SQ
readonlystaticNMILE_SQ:CompoundUnit<Area>
Defined in: src/sdk/math/NumberUnit.ts:1053
Nautical mile squared.
POUND
readonlystaticPOUND:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:967
POUND_FORCE
readonlystaticPOUND_FORCE:CompoundUnit<Force>
Defined in: src/sdk/math/NumberUnit.ts:1039
Pound (force).
PPH
readonlystaticPPH:CompoundUnit<WeightFlux>
Defined in: src/sdk/math/NumberUnit.ts:1029
Pound per hour.
PSI
readonlystaticPSI:SimpleUnit<Pressure>
Defined in: src/sdk/math/NumberUnit.ts:987
Pound per square inch.
RADIAN
readonlystaticRADIAN:SimpleUnit<Angle>
Defined in: src/sdk/math/NumberUnit.ts:956
RANKINE
readonlystaticRANKINE:SimpleUnit<Temperature>
Defined in: src/sdk/math/NumberUnit.ts:992
SECOND
readonlystaticSECOND:SimpleUnit<Duration>
Defined in: src/sdk/math/NumberUnit.ts:962
SLUG
readonlystaticSLUG:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:968
SLUG_PER_FT3
readonlystaticSLUG_PER_FT3:CompoundUnit<Density>
Defined in: src/sdk/math/NumberUnit.ts:1032
Density in slugs per cubic foot
TON
readonlystaticTON:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:969
TONNE
readonlystaticTONNE:SimpleUnit<Weight>
Defined in: src/sdk/math/NumberUnit.ts:970
Methods
createFuelWeightUnit()
staticcreateFuelWeightUnit(density, ...defs):CompoundableUnit<Weight>[]
Defined in: src/sdk/math/NumberUnit.ts:1131
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.