Class LandingRunways
java.lang.Object
org.deltava.beans.navdata.LandingRunways
A bean to store runway selection results.
- Since:
- 4.2
- Version:
- 8.0
- Author:
- Luke
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(Collection<Runway> rwys) Adds runway options.Returns the most likely runway used to land.double
Returns the greatest magnetic variation of all the runways.Returns all possible Runways.toString()
-
Constructor Details
-
LandingRunways
Initializes the bean.- Parameters:
loc
- the touchdown locationhdg
- the true heading at touchdown
-
-
Method Details
-
addAll
Adds runway options.- Parameters:
rwys
- a Collection of Runway beans
-
getBestRunway
Returns the most likely runway used to land.- Returns:
- a Runway, or null if no choices
-
getMagVar
public double getMagVar()Returns the greatest magnetic variation of all the runways.- Returns:
- the variation in degrees
-
getRunways
Returns all possible Runways.- Returns:
- a Collection of PossibleRunway beans
- See Also:
-
toString
-