Class AirspaceHelper
java.lang.Object
org.deltava.beans.flight.AirspaceHelper
A utility class to perform Restricted Airspace validation.
- Since:
- 7.3
- Version:
- 10.3
- Author:
- Luke
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection
<Airspace> classify
(Collection<? extends GeospaceLocation> locs, boolean includeRestricted) Determines whether a particular set of GeoLocations is within any Prohibited or Restricted airspace.static Collection
<Airspace> classify
(PopulatedRoute pr, boolean includeRestricted) Determines whether a route enters any Prohibited or Restricted airspace.
-
Method Details
-
classify
Determines whether a route enters any Prohibited or Restricted airspace.- Parameters:
pr
- a PopulatedRouteincludeRestricted
- 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 GeospaceLocationsincludeRestricted
- TRUE if Restricted as well as Prohibited Airspace should be checked, otherwise FALSE- Returns:
- a Collection of entered Airspace beans
-