Class LandingRunways

java.lang.Object
org.deltava.beans.navdata.LandingRunways

public class LandingRunways extends Object
A bean to store runway selection results.
Since:
4.2
Version:
8.0
Author:
Luke
  • Constructor Details

    • LandingRunways

      public LandingRunways(GeoLocation loc, int hdg)
      Initializes the bean.
      Parameters:
      loc - the touchdown location
      hdg - the true heading at touchdown
  • Method Details

    • addAll

      public void addAll(Collection<Runway> rwys)
      Adds runway options.
      Parameters:
      rwys - a Collection of Runway beans
    • getBestRunway

      public Runway 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

      public String toString()
      Overrides:
      toString in class Object