Skip to main content

Class: UnitType

Defined in: src/sdk/math/NumberUnit.ts:940

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:958


ARC_SEC

readonly static ARC_SEC: SimpleUnit<Angle>

Defined in: src/sdk/math/NumberUnit.ts:959


ATM

readonly static ATM: SimpleUnit<Pressure>

Defined in: src/sdk/math/NumberUnit.ts:981

Atmosphere.


CELSIUS

readonly static CELSIUS: SimpleUnit<Temperature>

Defined in: src/sdk/math/NumberUnit.ts:990


CENTIMETER

readonly static CENTIMETER: SimpleUnit<Distance>

Defined in: src/sdk/math/NumberUnit.ts:942


CENTIMETER_SQ

readonly static CENTIMETER_SQ: CompoundUnit<Area>

Defined in: src/sdk/math/NumberUnit.ts:1046


DEGREE

readonly static DEGREE: SimpleUnit<Angle>

Defined in: src/sdk/math/NumberUnit.ts:957


DELTA_CELSIUS

readonly static DELTA_CELSIUS: SimpleUnit<TemperatureDelta>

Defined in: src/sdk/math/NumberUnit.ts:995

Change in degrees Celsius.


DELTA_FAHRENHEIT

readonly static DELTA_FAHRENHEIT: SimpleUnit<TemperatureDelta>

Defined in: src/sdk/math/NumberUnit.ts:997

Change in degrees Fahrenheit.


FAHRENHEIT

readonly static FAHRENHEIT: SimpleUnit<Temperature>

Defined in: src/sdk/math/NumberUnit.ts:991


readonly static FOOT: SimpleUnit<Distance>

Defined in: src/sdk/math/NumberUnit.ts:945


FOOT_PER_NMILE

readonly static FOOT_PER_NMILE: CompoundUnit<DistanceRatio>

Defined in: src/sdk/math/NumberUnit.ts:1042

One foot per nautical mile.


FOOT_SQ

readonly static FOOT_SQ: CompoundUnit<Area>

Defined in: src/sdk/math/NumberUnit.ts:1049


FPM

readonly static FPM: CompoundUnit<Speed>

Defined in: src/sdk/math/NumberUnit.ts:1009

Foot per minute.


FPM_PER_SEC

readonly static FPM_PER_SEC: CompoundUnit<Acceleration>

Defined in: src/sdk/math/NumberUnit.ts:1018

Foot per minute per second.


FPS

readonly static FPS: CompoundUnit<Speed>

Defined in: src/sdk/math/NumberUnit.ts:1011

Foot per second.


FPS_PER_SEC

readonly static FPS_PER_SEC: CompoundUnit<Acceleration>

Defined in: src/sdk/math/NumberUnit.ts:1020

Foot per second per second.


G_ACCEL

readonly static G_ACCEL: CompoundUnit<Acceleration>

Defined in: src/sdk/math/NumberUnit.ts:1024

Average gravitational acceleration on Earth at sea level.


GA_RADIAN

readonly static GA_RADIAN: SimpleUnit<Distance>

Defined in: src/sdk/math/NumberUnit.ts:951

Great-arc radian. The average radius of Earth.


GALLON

readonly static GALLON: SimpleUnit<Volume>

Defined in: src/sdk/math/NumberUnit.ts:973


GALLON_100LL_FUEL

readonly static GALLON_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

readonly static GALLON_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

readonly static GALLON_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

readonly static GALLON_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

readonly static GPH_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

readonly static GPH_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

readonly static GPH_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

readonly static GPH_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

readonly static HOUR: SimpleUnit<Duration>

Defined in: src/sdk/math/NumberUnit.ts:964


HPA

readonly static HPA: SimpleUnit<Pressure>

Defined in: src/sdk/math/NumberUnit.ts:977

Hectopascal.


IGPH_100LL_FUEL

readonly static IGPH_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

readonly static IGPH_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

readonly static IGPH_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

readonly static IGPH_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

readonly static IMP_GALLON: SimpleUnit<Volume>

Defined in: src/sdk/math/NumberUnit.ts:974


IMP_GALLON_100LL_FUEL

readonly static IMP_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

readonly static IMP_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

readonly static IMP_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

readonly static IMP_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

readonly static IN_HG: SimpleUnit<Pressure>

Defined in: src/sdk/math/NumberUnit.ts:983

Inch of mercury.


INCH

readonly static INCH: SimpleUnit<Distance>

Defined in: src/sdk/math/NumberUnit.ts:944


INCH_SQ

readonly static INCH_SQ: CompoundUnit<Area>

Defined in: src/sdk/math/NumberUnit.ts:1048


KELVIN

readonly static KELVIN: SimpleUnit<Temperature>

Defined in: src/sdk/math/NumberUnit.ts:989


KG_PER_M3

readonly static KG_PER_M3: CompoundUnit<Density>

Defined in: src/sdk/math/NumberUnit.ts:1034

Density in kilograms per cubic meter


KGH

readonly static KGH: CompoundUnit<WeightFlux>

Defined in: src/sdk/math/NumberUnit.ts:1027

Kilogram per hour.


KILOGRAM

readonly static KILOGRAM: SimpleUnit<Weight>

Defined in: src/sdk/math/NumberUnit.ts:966


KILOMETER

readonly static KILOMETER: SimpleUnit<Distance>

Defined in: src/sdk/math/NumberUnit.ts:943


KILOMETER_SQ

readonly static KILOMETER_SQ: CompoundUnit<Area>

Defined in: src/sdk/math/NumberUnit.ts:1047


KNOT

readonly static KNOT: CompoundUnit<Speed>

Defined in: src/sdk/math/NumberUnit.ts:999


KNOT_PER_SEC

readonly static KNOT_PER_SEC: CompoundUnit<Acceleration>

Defined in: src/sdk/math/NumberUnit.ts:1022

Knot per second.


KPH

readonly static KPH: CompoundUnit<Speed>

Defined in: src/sdk/math/NumberUnit.ts:1001

Kilometer per hour.


LITER

readonly static LITER: SimpleUnit<Volume>

Defined in: src/sdk/math/NumberUnit.ts:972


LITER_100LL_FUEL

readonly static LITER_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

readonly static LITER_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

readonly static LITER_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

readonly static LITER_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

readonly static LPH_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

readonly static LPH_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

readonly static LPH_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

readonly static LPH_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

readonly static MB: SimpleUnit<Pressure>

Defined in: src/sdk/math/NumberUnit.ts:979

Millibar.


METER

readonly static METER: SimpleUnit<Distance>

Defined in: src/sdk/math/NumberUnit.ts:941


METER_SQ

readonly static METER_SQ: CompoundUnit<Area>

Defined in: src/sdk/math/NumberUnit.ts:1045

Square meter


MILE

readonly static MILE: SimpleUnit<Distance>

Defined in: src/sdk/math/NumberUnit.ts:947

Statute mile.


MILE_PER_GALLON_100LL_FUEL

readonly static MILE_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

readonly static MILE_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

readonly static MILE_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

readonly static MILE_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

readonly static MILE_SQ: CompoundUnit<Area>

Defined in: src/sdk/math/NumberUnit.ts:1051

Statute mile squared.


MILLISECOND

readonly static MILLISECOND: SimpleUnit<Duration>

Defined in: src/sdk/math/NumberUnit.ts:961


MINUTE

readonly static MINUTE: SimpleUnit<Duration>

Defined in: src/sdk/math/NumberUnit.ts:963


MM_HG

readonly static MM_HG: SimpleUnit<Pressure>

Defined in: src/sdk/math/NumberUnit.ts:985

Millimeter of mercury.


MPH

readonly static MPH: CompoundUnit<Speed>

Defined in: src/sdk/math/NumberUnit.ts:1003

Miles per hour.


MPM

readonly static MPM: CompoundUnit<Speed>

Defined in: src/sdk/math/NumberUnit.ts:1005

Meter per minute.


MPM_PER_SEC

readonly static MPM_PER_SEC: CompoundUnit<Acceleration>

Defined in: src/sdk/math/NumberUnit.ts:1014

Meter per minute per second.


MPS

readonly static MPS: CompoundUnit<Speed>

Defined in: src/sdk/math/NumberUnit.ts:1007

Meter per second.


MPS_PER_SEC

readonly static MPS_PER_SEC: CompoundUnit<Acceleration>

Defined in: src/sdk/math/NumberUnit.ts:1016

Meter per second per second.


NEWTON

readonly static NEWTON: CompoundUnit<Force>

Defined in: src/sdk/math/NumberUnit.ts:1037

Newton.


NMILE

readonly static NMILE: SimpleUnit<Distance>

Defined in: src/sdk/math/NumberUnit.ts:949

Nautical mile.


NMILE_PER_GALLON_100LL_FUEL

readonly static NMILE_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

readonly static NMILE_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

readonly static NMILE_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

readonly static NMILE_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

readonly static NMILE_SQ: CompoundUnit<Area>

Defined in: src/sdk/math/NumberUnit.ts:1053

Nautical mile squared.


POUND

readonly static POUND: SimpleUnit<Weight>

Defined in: src/sdk/math/NumberUnit.ts:967


POUND_FORCE

readonly static POUND_FORCE: CompoundUnit<Force>

Defined in: src/sdk/math/NumberUnit.ts:1039

Pound (force).


PPH

readonly static PPH: CompoundUnit<WeightFlux>

Defined in: src/sdk/math/NumberUnit.ts:1029

Pound per hour.


PSI

readonly static PSI: SimpleUnit<Pressure>

Defined in: src/sdk/math/NumberUnit.ts:987

Pound per square inch.


RADIAN

readonly static RADIAN: SimpleUnit<Angle>

Defined in: src/sdk/math/NumberUnit.ts:956


RANKINE

readonly static RANKINE: SimpleUnit<Temperature>

Defined in: src/sdk/math/NumberUnit.ts:992


SECOND

readonly static SECOND: SimpleUnit<Duration>

Defined in: src/sdk/math/NumberUnit.ts:962


SLUG

readonly static SLUG: SimpleUnit<Weight>

Defined in: src/sdk/math/NumberUnit.ts:968


SLUG_PER_FT3

readonly static SLUG_PER_FT3: CompoundUnit<Density>

Defined in: src/sdk/math/NumberUnit.ts:1032

Density in slugs per cubic foot


TON

readonly static TON: SimpleUnit<Weight>

Defined in: src/sdk/math/NumberUnit.ts:969


TONNE

readonly static TONNE: SimpleUnit<Weight>

Defined in: src/sdk/math/NumberUnit.ts:970

Methods

createFuelWeightUnit()

static createFuelWeightUnit(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

ParameterTypeDescription
densitynumberThe fuel density to use, in pounds per gallon.
...defsobject[]Definitions for creating the weight units.

Returns

CompoundableUnit<Weight>[]

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.