NASA World Wind

gov.nasa.worldwindx.examples
Class Airspaces

java.lang.Object
  extended by gov.nasa.worldwindx.examples.ApplicationTemplate
      extended by gov.nasa.worldwindx.examples.Airspaces
Direct Known Subclasses:
DeepPicking

public class Airspaces
extends ApplicationTemplate

Illustrates how to configure and display World Wind Airspace shapes. Airspace shapes are extruded 3D volumes defined by geographic coordinates and upper- and lower- altitude boundaries. The interior of airspace shapes always conforms to the curvature of the globe, and optionally also conform to the underlying terrain.

This shows how to use all 11 types of standard airspace shapes:


Nested Class Summary
static class Airspaces.AirspacesController
           
static class Airspaces.AirspacesPanel
           
static class Airspaces.AppFrame
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
 
Field Summary
static String ACTION_COMMAND_ANTIALIAS
           
static String ACTION_COMMAND_DEPTH_OFFSET
           
static String ACTION_COMMAND_DRAW_EXTENT
           
static String ACTION_COMMAND_DRAW_WIREFRAME
           
static String ACTION_COMMAND_LOAD_DATELINE_CROSSING_AIRSPACES
           
static String ACTION_COMMAND_LOAD_DEMO_AIRSPACES
           
static String ACTION_COMMAND_LOAD_INTERSECTING_AIRSPACES
           
static String ACTION_COMMAND_READ_AIRSPACES
           
static String ACTION_COMMAND_SAVE_AIRSPACES
           
static String ACTION_COMMAND_ZOOM_TO_DEMO_AIRSPACES
           
protected static double[] SAN_JUAN_COUNTY_1
           
protected static double[] SAN_JUAN_COUNTY_2
           
protected static double[] SAN_JUAN_COUNTY_3
           
protected static double[] SNOHOMISH_COUNTY
           
 
Constructor Summary
Airspaces()
           
 
Method Summary
static void main(String[] args)
           
protected static Iterable<LatLon> makeLatLon(double[] src)
           
protected static Iterable<LatLon> makeLatLon(double[] src, int offset, int length)
           
 
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_COMMAND_ANTIALIAS

public static final String ACTION_COMMAND_ANTIALIAS
See Also:
Constant Field Values

ACTION_COMMAND_DEPTH_OFFSET

public static final String ACTION_COMMAND_DEPTH_OFFSET
See Also:
Constant Field Values

ACTION_COMMAND_DRAW_EXTENT

public static final String ACTION_COMMAND_DRAW_EXTENT
See Also:
Constant Field Values

ACTION_COMMAND_DRAW_WIREFRAME

public static final String ACTION_COMMAND_DRAW_WIREFRAME
See Also:
Constant Field Values

ACTION_COMMAND_LOAD_DATELINE_CROSSING_AIRSPACES

public static final String ACTION_COMMAND_LOAD_DATELINE_CROSSING_AIRSPACES
See Also:
Constant Field Values

ACTION_COMMAND_LOAD_DEMO_AIRSPACES

public static final String ACTION_COMMAND_LOAD_DEMO_AIRSPACES
See Also:
Constant Field Values

ACTION_COMMAND_LOAD_INTERSECTING_AIRSPACES

public static final String ACTION_COMMAND_LOAD_INTERSECTING_AIRSPACES
See Also:
Constant Field Values

ACTION_COMMAND_READ_AIRSPACES

public static final String ACTION_COMMAND_READ_AIRSPACES
See Also:
Constant Field Values

ACTION_COMMAND_SAVE_AIRSPACES

public static final String ACTION_COMMAND_SAVE_AIRSPACES
See Also:
Constant Field Values

ACTION_COMMAND_ZOOM_TO_DEMO_AIRSPACES

public static final String ACTION_COMMAND_ZOOM_TO_DEMO_AIRSPACES
See Also:
Constant Field Values

SAN_JUAN_COUNTY_1

protected static final double[] SAN_JUAN_COUNTY_1

SAN_JUAN_COUNTY_2

protected static final double[] SAN_JUAN_COUNTY_2

SAN_JUAN_COUNTY_3

protected static final double[] SAN_JUAN_COUNTY_3

SNOHOMISH_COUNTY

protected static final double[] SNOHOMISH_COUNTY
Constructor Detail

Airspaces

public Airspaces()
Method Detail

main

public static void main(String[] args)

makeLatLon

protected static Iterable<LatLon> makeLatLon(double[] src)

makeLatLon

protected static Iterable<LatLon> makeLatLon(double[] src,
                                             int offset,
                                             int length)

NASA World Wind