FSUIPC Client DLL
.NET interface for FSUIPC
FsRunway Class Reference

A class holding all the information about a runway More...

Inherits IDataStoreObject.

Public Member Functions

override string ToString ()
 Get the a string representation of the Runway ID e.g. 27L More...
 
void MoveAircraftHere (bool LeavePaused)
 Moves the player's aircraft to this runway More...
 
 FsRunway ()
 Creates a new instance of FsRunway More...
 

Properties

string ICAO [get, set]
 The ICAO Code of the airport this belongs to More...
 
FsRunwayID ID [get, set]
 The number of the runway (e.g. 27L) More...
 
FsAirport Airport [get, set]
 The FsAriport object that this runway belongs to More...
 
double LengthFeet [get, set]
 The length of the runway in Feet More...
 
double LengthMetres [get]
 The length of the runway in Metres More...
 
double WidthFeet [get, set]
 The width of the runway in Feet More...
 
double WidthMetres [get]
 the width of the runway in Metres More...
 
double HeadingMagnetic [get, set]
 The Magnetic Heading of the runway More...
 
double HeadingTrue [get]
 The True Heading of the runway More...
 
FsSurface Surface [get, set]
 The type of surface the runway has More...
 
FsILSInfo ILSInfo [get, set]
 Information about the ILS facilities installed for the runway. If no ILS is installed this property is null (Nothing in VB) More...
 
FsLatLonPoint ThresholdLocation [get, set]
 The Longitude/Latitude of runway threshold More...
 
double ThresholdOffsetFeet [get, set]
 The distance from the threshold to the real start of the runway in Feet More...
 
double ThresholdOffsetMetres [get]
 The distance from the threshold to the real start of the runway in Metres More...
 
FsLatLonPoint StartLocation [get, set]
 The FlightSim's start location for this runway. Used to position the player for takeoff. More...
 
bool ClosedForLanding [get, set]
 True if this runway is closed to landing traffic More...
 
bool ClosedForTakeoff [get, set]
 True if this runway is closed to traffic taking off More...
 
FsRunwayLightsInfo LightsInfo [get, set]
 Information about all the lights for this runway More...
 
FsRunwayPatternInfo PatternInfo [get, set]
 Information about the take-off and landing pattern for this runway More...
 
FsLatLonQuadrilateral Bounds [get]
 An FsLatLonQuadrilateral defining the Lat/Lon of the four corners of the runway More...
 
double DistanceNauticalMiles [get]
 The distance to this runway's threshold in Nautical Miles. More...
 
double DistanceFeet [get]
 The distance to this runway's threshold in Feet. More...
 
double DistanceMetres [get, set]
 The distance to this runway's threshold in Metres. More...
 
double BearingToTrue [get, set]
 The bearing in degrees TRUE to the threshold of this runway. More...
 
double BearingToMagnetic [get, set]
 The bearing in degrees MAGNETIC to the threshold of this runway. More...
 
bool IsPlayerOnRunway [get, set]
 True if the player's aircraft is currently on the runway. (Must be on the ground). More...
 
AIPlaneInfo AIPlaneOnRunway [get, set]
 The AIPlaneInfo of the AI Traffic Plane that is currently on this runway. If no AI Traffic is on this runway then it will be null (Nothing in VB). More...
 
AIPlaneInfoCollection AITrafficArrivals = new AIPlaneInfoCollection() [get, set]
 A list of AIPlaneInfo representing the AI Traffic Planes that are currently assigned to arrive on this runway. More...
 
AIPlaneInfoCollection AITrafficDepartrures = new AIPlaneInfoCollection() [get, set]
 A list of AIPlaneInfo representing the AI Traffic Planes that are currently assigned to depart from this runway. More...
 
FsTaxiwayIntersectionCollection< FsTaxiwayTaxiwayIntersections [get, set]
 Returns a list of taxiways at this airport that intersect with this runway. More...
 

Detailed Description

A class holding all the information about a runway

Constructor & Destructor Documentation

◆ FsRunway()

FsRunway ( )
inline

Creates a new instance of FsRunway

Member Function Documentation

◆ MoveAircraftHere()

void MoveAircraftHere ( bool  LeavePaused)
inline

Moves the player's aircraft to this runway

Parameters
LeavePausedSet to True to leave the FlightSim paused after moving the aircraft.

◆ ToString()

override string ToString ( )
inline

Get the a string representation of the Runway ID e.g. 27L

Returns

Property Documentation

◆ AIPlaneOnRunway

AIPlaneInfo AIPlaneOnRunway
getset

The AIPlaneInfo of the AI Traffic Plane that is currently on this runway. If no AI Traffic is on this runway then it will be null (Nothing in VB).

NOTE: This is only filled in if the AITraffic information has been refreshed.

◆ Airport

FsAirport Airport
getset

The FsAriport object that this runway belongs to

◆ AITrafficArrivals

AIPlaneInfoCollection AITrafficArrivals = new AIPlaneInfoCollection()
getset

A list of AIPlaneInfo representing the AI Traffic Planes that are currently assigned to arrive on this runway.

NOTE: This is only filled in if the AITraffic information has been refreshed.

◆ AITrafficDepartrures

AIPlaneInfoCollection AITrafficDepartrures = new AIPlaneInfoCollection()
getset

A list of AIPlaneInfo representing the AI Traffic Planes that are currently assigned to depart from this runway.

NOTE: This is only filled in if the AITraffic information has been refreshed.

◆ BearingToMagnetic

double BearingToMagnetic
getset

The bearing in degrees MAGNETIC to the threshold of this runway.

NOTE: this is only filled in if a reference position has been set

◆ BearingToTrue

double BearingToTrue
getset

The bearing in degrees TRUE to the threshold of this runway.

NOTE: this is only filled in if a reference position has been set

◆ Bounds

An FsLatLonQuadrilateral defining the Lat/Lon of the four corners of the runway

◆ ClosedForLanding

bool ClosedForLanding
getset

True if this runway is closed to landing traffic

◆ ClosedForTakeoff

bool ClosedForTakeoff
getset

True if this runway is closed to traffic taking off

◆ DistanceFeet

double DistanceFeet
get

The distance to this runway's threshold in Feet.

NOTE: this is only filled in if a reference position has been set

◆ DistanceMetres

double DistanceMetres
getset

The distance to this runway's threshold in Metres.

NOTE: this is only filled in if a reference position has been set

◆ DistanceNauticalMiles

double DistanceNauticalMiles
get

The distance to this runway's threshold in Nautical Miles.

NOTE: this is only filled in if a reference position has been set

◆ HeadingMagnetic

double HeadingMagnetic
getset

The Magnetic Heading of the runway

◆ HeadingTrue

double HeadingTrue
get

The True Heading of the runway

◆ ICAO

string ICAO
getset

The ICAO Code of the airport this belongs to

◆ ID

FsRunwayID ID
getset

The number of the runway (e.g. 27L)

◆ ILSInfo

FsILSInfo ILSInfo
getset

Information about the ILS facilities installed for the runway. If no ILS is installed this property is null (Nothing in VB)

◆ IsPlayerOnRunway

bool IsPlayerOnRunway
getset

True if the player's aircraft is currently on the runway. (Must be on the ground).

NOTE: this is only filled in if the reference position has been set to the current player postion

◆ LengthFeet

double LengthFeet
getset

The length of the runway in Feet

◆ LengthMetres

double LengthMetres
get

The length of the runway in Metres

◆ LightsInfo

FsRunwayLightsInfo LightsInfo
getset

Information about all the lights for this runway

◆ PatternInfo

FsRunwayPatternInfo PatternInfo
getset

Information about the take-off and landing pattern for this runway

◆ StartLocation

FsLatLonPoint StartLocation
getset

The FlightSim's start location for this runway. Used to position the player for takeoff.

◆ Surface

FsSurface Surface
getset

The type of surface the runway has

◆ TaxiwayIntersections

FsTaxiwayIntersectionCollection<FsTaxiway> TaxiwayIntersections
getset

Returns a list of taxiways at this airport that intersect with this runway.

Only populated after calling CalculateTaxiwayIntersection() method on the FsAriport object

◆ ThresholdLocation

FsLatLonPoint ThresholdLocation
getset

The Longitude/Latitude of runway threshold

◆ ThresholdOffsetFeet

double ThresholdOffsetFeet
getset

The distance from the threshold to the real start of the runway in Feet

◆ ThresholdOffsetMetres

double ThresholdOffsetMetres
get

The distance from the threshold to the real start of the runway in Metres

◆ WidthFeet

double WidthFeet
getset

The width of the runway in Feet

◆ WidthMetres

double WidthMetres
get

the width of the runway in Metres