Class AerodromeSurfaces
Class object for Aerodrome Surfaces handling the different criteria
Inheritance
Inherited Members
Namespace: FpAssistantCore.Aerodromes
Assembly: FpAssistantCoreScl.dll
Syntax
public abstract class AerodromeSurfaces : BaseObjectAerodromeSurfaces
Remarks
AerodromeCriteria for supported criteria
Constructors
View SourceAerodromeSurfaces(AerodromeCriteria)
Constructor
Declaration
public AerodromeSurfaces(AerodromeCriteria aerodromeCriteria)
Parameters
| Type | Name | Description |
|---|---|---|
| AerodromeCriteria | aerodromeCriteria | Choice of criteria to construct the aerodrome surfaces |
Remarks
Used where the criteria calculations differ between the criteria
Fields
View Source_CoordinateSystem
Declaration
protected CoordinateSystem _CoordinateSystem
Field Value
| Type | Description |
|---|---|
| CoordinateSystem |
Properties
View SourceAerodromeElevation
Aerodrome Elevation
Declaration
[JsonInclude]
public LinearDistance AerodromeElevation { get; set; }
Property Value
| Type | Description |
|---|---|
| LinearDistance |
AircraftCategory
Category of Aircraft to use for construction of aerodrome surfaces
Declaration
public AerodromeSurfaces.AircraftCategoryOption AircraftCategory { get; set; }
Property Value
| Type | Description |
|---|---|
| AerodromeSurfaces.AircraftCategoryOption |
Arp
Aerodrome Reference Point (ARP) coordinate
Declaration
[JsonInclude]
public GeoCoordinate Arp { get; set; }
Property Value
| Type | Description |
|---|---|
| GeoCoordinate |
Criteria
Criteria used in the construction of the aerodrome surfaces
Declaration
[JsonIgnore]
public AerodromeCriteria Criteria { get; }
Property Value
| Type | Description |
|---|---|
| AerodromeCriteria |
Runways
Aerodrome Runways
Declaration
[JsonInclude]
public Dictionary<string, Runway> Runways { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Runway> |
Methods
View SourceAddRunway(Runway)
Add a runway definition to the aerodrome to be used in the construction
Declaration
public void AddRunway(Runway runway)
Parameters
| Type | Name | Description |
|---|---|---|
| Runway | runway | Runway to add |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | When runway identifier is already present in the runways for the aerodrome |
| ArgumentNullException | Null passed for any of the parameters |
FindRunwayByIdentifier(string)
Return the runway based on the identifier
Declaration
public (bool found, Runway runway) FindRunwayByIdentifier(string identifier)
Parameters
| Type | Name | Description |
|---|---|---|
| string | identifier | Identifier of the runway to look for in the aerodrome list |
Returns
| Type | Description |
|---|---|
| (bool found, Runway runway) | True or False if the runway is found if found the runway object will be return; null if not |
SaveParameters(string)
Saves the complete set of Aerodrome surfaces parameters
Declaration
public void SaveParameters(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | Path and filename to save parameters to |
SetCoordinateSystem(CoordinateSystem)
Coordinate System in which to calculate the aerodrome surfaces
Declaration
public void SetCoordinateSystem(CoordinateSystem coordinateSystem)
Parameters
| Type | Name | Description |
|---|---|---|
| CoordinateSystem | coordinateSystem |