Show / Hide Table of Contents

Struct AirSpeed

AirSpeed: Class for working with a speed of an aircraft

Implements
IEquatable<AirSpeed>
Namespace: FpAssistantCore.GeneralAviation
Assembly: FpAssistantCoreScl.dll
Syntax
public struct 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
System.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
System.Double

Numerical value of the air speed

View Source

ValueUnit

The type of measurement unit of the air speed value

Declaration
public readonly 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
System.Boolean

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
System.Object obj
Returns
Type Description
System.Boolean
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
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, Boolean)

Calculation for the Radius Of Turn

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

Angle of bank

System.Boolean 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

System.Double rateOfTurn

Rate of turn

Returns
Type Description
LinearDistance

Radius of Turn in either KM or NM

Remarks

Static member

View Source

RadiusOfTurn(Double)

Calculation for the Radius Of Turn

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

Rate of turn

Returns
Type Description
LinearDistance

Radius of Turn in either KM or NM

View Source

RateOfTurn(Angle, Boolean)

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 (α)

System.Boolean override3DegreesLimit

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

Returns
Type Description
System.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, Boolean)

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 (α)

System.Boolean override3DegreesLimit

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

Returns
Type Description
System.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
System.String

Returns a formatted string containing the AirSpeed value

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
System.String format

Format patterns for double

Returns
Type Description
System.String

Returns a formatted string containing the AirSpeed value

Operators

View Source

Equality(AirSpeed, AirSpeed)

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

Inequality(AirSpeed, AirSpeed)

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

Implements

IEquatable<>
  • View Source
In This Article
Back to top Copyright 2018-2024 CADology Limited