FSUIPC Client DLL
.NET interface for FSUIPC
FsGate Class Reference

A class holding all the information about an airport gate. More...

Public Member Functions

override string ToString ()
 Gets a string representation of this gate. Includes ID and Type.
 
void MoveAircraftHere (bool LeavePaused)
 Moves the player's aircraft to this gate.
 
 FsGate ()
 Creates a new instance of FsGate.
 

Properties

string ICAO [get, set]
 The ICAO Code of the airport this belongs to.
 
string ID [get, set]
 The ID of the Gate.
 
string Name [get, set]
 The Name of the gate as specified in the BGL file.
 
string Number [get, set]
 The number of the gate as specified in the BGL file.
 
FsAirport Airport [get, set]
 The FsAirport object that this gate belongs to.
 
double RadiusFeet [get]
 The radius of the gate area in Feet.
 
double RadiusMetres [get, set]
 The radius of the gate area in Metres.
 
FsLatLonPoint Location [get, set]
 The latitude and longitude of the centre of the gate area.
 
double HeadingMagnetic [get]
 The MAGNETIC heading of the gate (the direction the aircraft is facing when parked at the gate).
 
double HeadingTrue [get, set]
 The TRUE heading of the gate (the direction the aircraft is facing when parked at the gate).
 
FsGateType Type [get, set]
 The type of gate.
 
FsLatLonCircle Bounds [get]
 A FsLatLonCircle representing the area covered by this gate.
 
double DistanceNauticalMiles [get]
 The distance to this gate's centre point in Nautical Miles.
 
double DistanceFeet [get]
 The distance to this gate's centre point in Feet.
 
double DistanceMetres [get, set]
 The distance to this gate's centre point in Metres.
 
double BearingToTrue [get, set]
 The bearing in degrees TRUE to this gate's centre point.
 
double BearingToMagnetic [get, set]
 The bearing in degrees MAGNETIC to this gate's centre point.
 
bool IsPlayerAtGate [get, set]
 True if the player's aircraft is currently in the gate area.
 
bool IsAIPlaneAtGate [get, set]
 True if there is an AI Traffic Plane currently parked at this gate. Use AIPlaneAssigned to get the AIPlaneInfo.
 
AIPlaneInfo AIPlaneAssigned [get, set]
 The AIPlaneInfo of the AI Traffic Plane that is currently assigned to, or at this gate. If no AI Traffic is assigned to, or at this gate then it will be null (Nothing in VB). Check IsAIPlaneAtGate to see if the plane is currently at the gate or not.
 
List< string > Airlines = new List<string>() [get, set]
 A list of Airlines that use this gate.
 
FsTaxiwayIntersectionCollection< FsTaxiwayTaxiwayIntersections [get, set]
 Returns a list of taxiways at this airport that intersect with this gate.
 

Detailed Description

A class holding all the information about an airport gate.

Member Function Documentation

◆ MoveAircraftHere()

void MoveAircraftHere ( bool LeavePaused)
inline

Moves the player's aircraft to this gate.

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

◆ ToString()

override string ToString ( )
inline

Gets a string representation of this gate. Includes ID and Type.

Returns

Property Documentation

◆ AIPlaneAssigned

AIPlaneInfo AIPlaneAssigned
getset

The AIPlaneInfo of the AI Traffic Plane that is currently assigned to, or at this gate. If no AI Traffic is assigned to, or at this gate then it will be null (Nothing in VB). Check IsAIPlaneAtGate to see if the plane is currently at the gate or not.

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

◆ BearingToMagnetic

double BearingToMagnetic
getset

The bearing in degrees MAGNETIC to this gate's centre point.

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

◆ BearingToTrue

double BearingToTrue
getset

The bearing in degrees TRUE to this gate's centre point.

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

◆ DistanceFeet

double DistanceFeet
get

The distance to this gate's centre point in Feet.

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

◆ DistanceMetres

double DistanceMetres
getset

The distance to this gate's centre point in Metres.

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

◆ DistanceNauticalMiles

double DistanceNauticalMiles
get

The distance to this gate's centre point in Nautical Miles.

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

◆ IsPlayerAtGate

bool IsPlayerAtGate
getset

True if the player's aircraft is currently in the gate area.

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

◆ TaxiwayIntersections

FsTaxiwayIntersectionCollection<FsTaxiway> TaxiwayIntersections
getset

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

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