Show / Hide Table of Contents

Struct AirSpeed

AirSpeed: Class for working with a speed of an aircraft

Implements
IEquatable<AirSpeed>
Inherited Members
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: FpAssistantCore.GeneralAviation
Assembly: FpAssistantCoreScl.dll
Syntax
public struct AirSpeed : IEquatable<AirSpeed>

Constructors

View Source

AirSpeed(double, AirSpeedUnits)

Constructor to initialise with a specific speed value and unit type

Declaration
public AirSpeed(double airSpeedValue, AirSpeedUnits airSpeedUnit)
Parameters
Type Name Description
double airSpeedValue

Numerical value of the air speed

AirSpeedUnits airSpeedUnit

Unit type of the air speed

Properties

View Source

Value

Contains the numerical value of the air speed

Declaration
public double Value { get; set; }
Property Value
Type Description
double

Numerical value of the air speed

Exceptions
Type Condition
ArgumentOutOfRangeException

AirSpeed value should not be less than 0.0

View Source

ValueUnit

The type of measurement unit of the air speed value

Declaration
public AirSpeedUnits ValueUnit { get; }
Property Value
Type Description
AirSpeedUnits

Enum value of the assigned unit

Methods

View Source

Equals(AirSpeed)

Indicates whether the current vector is AirSpeed to another AirSpeed object

Declaration
public bool Equals(AirSpeed other)
Parameters
Type Name Description
AirSpeed other

AirSpeed to compare with this AirSpeed

Returns
Type Description
bool

true if the current AirSpeed is equal to the AirSpeed parameter; otherwise false

View Source

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
ValueType.Equals(object)
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
ValueType.GetHashCode()
View Source

RadiusOfTurn(Angle)

Calculation for the Radius Of Turn

Declaration
public LinearDistance RadiusOfTurn(Angle angleOfBank)
Parameters
Type Name Description
Angle angleOfBank

Angle of bank

Returns
Type Description
LinearDistance

Radius of Turn in either KM or NM

View Source

RadiusOfTurn(Angle, bool)

Calculation for the Radius Of Turn

Declaration
public LinearDistance RadiusOfTurn(Angle angleOfBank, bool override3DegreesLimit)
Parameters
Type Name Description
Angle angleOfBank

Angle of bank

bool override3DegreesLimit

Override for 3 degree limit restriction

Returns
Type Description
LinearDistance

Radius of Turn in either KM or NM

View Source

RadiusOfTurn(AirSpeed, double)

Calculation for the Radius Of Turn

Declaration
public static LinearDistance RadiusOfTurn(AirSpeed airspeed, double rateOfTurn)
Parameters
Type Name Description
AirSpeed airspeed

Air speed value used in calculation

double rateOfTurn

Rate of turn

Returns
Type Description
LinearDistance

Radius of Turn in either KM or NM

Remarks

Static member

Exceptions
Type Condition
ArgumentOutOfRangeException

Rate of turn value should not be less than 0.0

View Source

RadiusOfTurn(double)

Calculation for the Radius Of Turn

Declaration
public LinearDistance RadiusOfTurn(double rateOfTurn)
Parameters
Type Name Description
double rateOfTurn

Rate of turn

Returns
Type Description
LinearDistance

Radius of Turn in either KM or NM

View Source

RateOfTurn(Angle, bool)

Calculation for the Rate Of Turn

Declaration
public double RateOfTurn(Angle angleOfBank, bool override3DegreesLimit)
Parameters
Type Name Description
Angle angleOfBank

Value of the angle of bank (α)

bool override3DegreesLimit

Override to calculate an R value greater than 3 degrees/second

Returns
Type Description
double

Rate of turn (R) in degrees/second

Remarks

This is calculated as follows:
R = (6 355 tan α)/π V, where V is the TAS in km/h; and
2) R = (3 431 tan α)/πV, where V is the TAS in kt
up to a maximum value of 3 degrees/second unless the overide is set

View Source

RateOfTurn(AirSpeed, Angle, bool)

Calculation for the Rate Of Turn using a static member where speed in passed as a variable

Declaration
public static double RateOfTurn(AirSpeed speed, Angle angleOfBank, bool override3DegreesLimit)
Parameters
Type Name Description
AirSpeed speed

Air speed value used in the calculation

Angle angleOfBank

Value of the angle of bank (α)

bool override3DegreesLimit

Override to calculate an R value greater than 3 degrees/second

Returns
Type Description
double

Rate of turn (R) in degrees/second

Remarks

This is calculated as follows:
R = (6 355 tan α)/π V, where V is the TAS in km/h; and
2) R = (3 431 tan α)/πV, where V is the TAS in kt
up to a maximum value of 3 degrees/second unless the overide is set

View Source

ToString()

Converts this instance of the AirSpeed object to a formatted string specifying 'CurrentCulture'

Declaration
public override string ToString()
Returns
Type Description
string

Returns a formatted string containing the AirSpeed value

Overrides
ValueType.ToString()
View Source

ToString(string)

Converts this instance of the AirSpeed object to a formatted string specifying 'CurrentCulture' with formatting

Declaration
public string ToString(string format)
Parameters
Type Name Description
string format

Format patterns for double

Returns
Type Description
string

Returns a formatted string containing the AirSpeed value

Operators

View Source

operator ==(AirSpeed, AirSpeed)

Declaration
public static bool operator ==(AirSpeed left, AirSpeed right)
Parameters
Type Name Description
AirSpeed left
AirSpeed right
Returns
Type Description
bool
View Source

operator !=(AirSpeed, AirSpeed)

Declaration
public static bool operator !=(AirSpeed left, AirSpeed right)
Parameters
Type Name Description
AirSpeed left
AirSpeed right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Copyright 2018-2025 CADology Limited