Speed class
Speed properties and conversion class
Defines a speed point with a speed value and type. The unit of the speed is set with unitSpeed and defaults to knots.
Constructors
Properties
Methods
-
convertSpeed(
SpeedUnit fromUnit, SpeedUnit toUnit) → double -
Covert Speed object to another unit as defined in
toUnit
. NOTE: method must be performed on the Speed object Example takes CAS from 148.7 knots to ft/sec: Speed(value: 148.7, type: SpeedType.cas).convertSpeed(SpeedUnit.fps); -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCAS(
Atmo atAtmoPoint) → double -
Convert the speed to Calibrated Airspeed at a defined Atmo point
atAtmoPoint
. The converted speed unit is the same as the input speed unit. -
toEAS(
Atmo atAtmoPoint) → double -
Convert the speed to Equivalent Airspeed at a defined Atmo point
atAtmoPoint
. The converted speed unit is the same as the input speed unit. -
toMach(
Atmo atAtmoPoint) → double -
Convert the speed to Mach at a defined Atmo point
atAtmoPoint
. -
toString(
) → String -
A string representation of this object.
override
-
toTAS(
Atmo atAtmoPoint) → double -
Convert the speed to True Airspeed at a defined Atmo point
atAtmoPoint
. The converted speed unit is the same as the input speed unit.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited