Show / Hide Table of Contents

Class Runway

Runway Object

Inheritance
object
Runway
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: FpAssistantCore.Aerodromes
Assembly: FpAssistantCoreScl.dll
Syntax
public class Runway

Constructors

View Source

Runway(string)

Constructor for a runway

Declaration
[JsonConstructor]
public Runway(string identifier)
Parameters
Type Name Description
string identifier

An identifier for this runway

Remarks

[JsonConstructor]

Properties

View Source

CentreLineCoordinateCount

Number of coordinates that defined the runway centreline

Declaration
[JsonIgnore]
public int CentreLineCoordinateCount { get; }
Property Value
Type Description
int

int - Number of coordinates in the centreline

View Source

CentreLineCoordinates

Collection of runway centreline coordinates

Declaration
public GeoCoordinateElevationCollection CentreLineCoordinates { get; set; }
Property Value
Type Description
GeoCoordinateElevationCollection

GeoCoordinateElevationCollection - Coordinates with elevations

Remarks

Coordinates are expected to be colinear

View Source

Identifier

The identifier for this runway

Declaration
public string Identifier { get; }
Property Value
Type Description
string

String - Runway Identifier

Methods

View Source

AddRunwayCoordinate(GeoCoordinateElevation)

Add GeoCoordinateElevation to the Runway Centreline collection

Declaration
public void AddRunwayCoordinate(GeoCoordinateElevation runwayCoordinateElevation)
Parameters
Type Name Description
GeoCoordinateElevation runwayCoordinateElevation
Remarks

Will be sorted as coordinates are added based from first entry

View Source

AsGeoMapElementCentreline(GeoMapElementOptions)

Runway Centreline in GeoMapElement Format

Declaration
public GeoMapElement AsGeoMapElementCentreline(Runway.GeoMapElementOptions geoMapElementOption)
Parameters
Type Name Description
Runway.GeoMapElementOptions geoMapElementOption

Option to control if just end points are used or all runway centreline points

Returns
Type Description
GeoMapElement

GeoMapElement of the centreline

Exceptions
Type Condition
ArgumentException

Invalid GeoMapElementOptions parameter

View Source

EndAsGeoCoordinate()

Runway end

Declaration
public GeoCoordinate EndAsGeoCoordinate()
Returns
Type Description
GeoCoordinate

GeoCoordinate : Coordinate of runway end

Exceptions
Type Condition
ArgumentException

Not enough coordinate defined for runway!

View Source

EndAsGeoCoordinateBasic()

Runway end

Declaration
public GeoCoordinateBasic EndAsGeoCoordinateBasic()
Returns
Type Description
GeoCoordinateBasic

GeoCoordinateBasic : Coordinate of runway end

Exceptions
Type Condition
ArgumentException

Not enough coordinate defined for runway!

View Source

EndElevation()

Runway end Elevation

Declaration
public LinearDistance EndElevation()
Returns
Type Description
LinearDistance

Elevation of runway end

Exceptions
Type Condition
ArgumentException

Not enough coordinate defined for runway!

View Source

ForwardBearing()

Runway Forward Bearing (Azimuth) start to end coordinate

Declaration
public CompassBearing ForwardBearing()
Returns
Type Description
CompassBearing

CompassBearing : Bearing of the runway

Exceptions
Type Condition
ArgumentException

Not enough coordinate defined for runway!

View Source

ReverseBearing()

Runway Reverse Bearing (Azimuth) end to start coordinate

Declaration
public CompassBearing ReverseBearing()
Returns
Type Description
CompassBearing

CompassBearing : Bearing of the runway

Exceptions
Type Condition
ArgumentException

Not enough coordinate defined for runway!

View Source

StartAsGeoCoordinate()

Runway Start

Declaration
public GeoCoordinate StartAsGeoCoordinate()
Returns
Type Description
GeoCoordinate

GeoCoordinate : Coordinate of runway start

Exceptions
Type Condition
ArgumentException

Not enough coordinate defined for runway!

View Source

StartAsGeoCoordinateBasic()

Runway Start

Declaration
public GeoCoordinateBasic StartAsGeoCoordinateBasic()
Returns
Type Description
GeoCoordinateBasic

GeoCoordinateBasic : Coordinate of runway start

Exceptions
Type Condition
ArgumentException

Not enough coordinate defined for runway!

View Source

StartElevation()

Runway Start Elevation

Declaration
public LinearDistance StartElevation()
Returns
Type Description
LinearDistance

Elevation of runway start

Exceptions
Type Condition
ArgumentException

Not enough coordinate defined for runway!

View Source

Surfaces(LinearDistance, GraphicalRepresentation)

Construct runway surfaces based on the centreline coordinates

Declaration
public GeoMapElementCollection Surfaces(LinearDistance width, GraphicalRepresentation graphicalRepresentation)
Parameters
Type Name Description
LinearDistance width

Width of the runway

GraphicalRepresentation graphicalRepresentation

Type of geometry that defines the graphical representation

Returns
Type Description
GeoMapElementCollection

Collection of GeoMapElements

Exceptions
Type Condition
NullReferenceException

If either parameter is null

  • View Source
In this article
Back to top Copyright 2018-2026 CADology Limited