Atmo class
Atmospheric point class
Defines a point in the atmosphere for a known pressure altitude hp and temperature condition temperature.
Constructors
- Atmo({required double hp, required double temperature, bool temperatureIsDeltaISA = true, LengthUnit unitAltitude = LengthUnit.ft, TemperatureUnit unitTemperature = TemperatureUnit.C})
- Atmospheric point constructor
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hp → double
-
Pressure altitude for this atmosphere point; unit defaults to feet and
can be set with unitAltitude.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- temperature → double
-
Temperature value for this atmosphere point; defaults to a delta ISA
temperature deviation from standard atmosphere, but can be set to and
outside air temperature (OAT) by setting temperatureIsDeltaISA to
true
. Default unit is Celsius, but can be set with unitTemperature.final - temperatureIsDeltaISA → bool
-
Boolean to set if temperature input is delta ISA (when set to
true
, default) or OAT (when set tofalse
).final - unitAltitude → LengthUnit
-
Pressure altitude unit; defaults to feet if not specified.
final
- unitTemperature → TemperatureUnit
-
Temperature input unit; defaults to Celsius if not specified.
final
Methods
-
getDelta(
) → double - Get pressure ratio Delta for this atmosphere point.
-
getDeltaISA(
) → double - Get delta ISA value for this atmosphere point; unit is same as Atmo point input unit.
-
getHpInFeet(
) → double - Get pressure altitude in feet.
-
getISA(
) → double - Get ISA temperature for this atmosphere point; unit is same as Atmo point input unit.
-
getOAT(
) → double - Get outside air temperature for this atmosphere point; unit is same as Atmo point input unit.
-
getSigma(
) → double - Get density ratio Sigma for this atmosphere point.
-
getSpeedOfSound(
{SpeedUnit unitSpeedOutput = SpeedUnit.kts}) → double -
Get speed of sound as this atmosphere point; unit defaults to knots, but
can be changed using
unitSpeedOutput
. -
getTheta(
) → double - Get temperature ratio Theta for this atmosphere point.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited