Class AirspaceHelper

java.lang.Object
org.deltava.beans.flight.AirspaceHelper

public final class AirspaceHelper extends Object
A utility class to perform Restricted Airspace validation.
Since:
7.3
Version:
10.3
Author:
Luke
  • Method Details

    • classify

      public static Collection<Airspace> classify(PopulatedRoute pr, boolean includeRestricted)
      Determines whether a route enters any Prohibited or Restricted airspace.
      Parameters:
      pr - a PopulatedRoute
      includeRestricted - TRUE if Restricted as well as Prohibited Airspace should be checked, otherwise FALSE
      Returns:
      a Collection of entered Airspace beans
    • classify

      public static Collection<Airspace> classify(Collection<? extends GeospaceLocation> locs, boolean includeRestricted)
      Determines whether a particular set of GeoLocations is within any Prohibited or Restricted airspace.
      Parameters:
      locs - a Collection of GeospaceLocations
      includeRestricted - TRUE if Restricted as well as Prohibited Airspace should be checked, otherwise FALSE
      Returns:
      a Collection of entered Airspace beans