NASA World Wind

gov.nasa.worldwind.render.airspaces
Class Route

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.render.airspaces.AbstractAirspace
          extended by gov.nasa.worldwind.render.airspaces.TrackAirspace
              extended by gov.nasa.worldwind.render.airspaces.Route
All Implemented Interfaces:
AVList, Movable, Airspace, Renderable, Restorable

public class Route
extends TrackAirspace


Field Summary
 
Fields inherited from class gov.nasa.worldwind.render.airspaces.AbstractAirspace
ARC_SLICES, DISABLE_TERRAIN_CONFORMANCE, EXPIRY_TIME, GEOMETRY_CACHE_KEY, GEOMETRY_CACHE_NAME, GLOBE_KEY, LENGTH_SLICES, LOOPS, PILLARS, SLICES, SPLIT_THRESHOLD, STACKS, SUBDIVISIONS, VERTICAL_EXAGGERATION
 
Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl
changeSupport
 
Fields inherited from interface gov.nasa.worldwind.render.airspaces.Airspace
DRAW_STYLE_FILL, DRAW_STYLE_OUTLINE
 
Constructor Summary
Route()
           
Route(AirspaceAttributes attributes)
           
Route(List<? extends LatLon> locations, double width)
           
 
Method Summary
 Box addLeg(LatLon start, LatLon end)
           
protected  void addLocations(Iterable<? extends LatLon> newLocations)
           
protected  void doGetRestorableState(RestorableSupport rs, RestorableSupport.StateObject context)
           
protected  void doMoveTo(Position oldRef, Position newRef)
           
protected  void doRestoreState(RestorableSupport rs, RestorableSupport.StateObject context)
           
 Iterable<? extends LatLon> getLocations()
           
 Position getReferencePosition()
           
 double getWidth()
           
 void setLocations(Iterable<? extends LatLon> locations)
           
 void setWidth(double width)
           
 
Methods inherited from class gov.nasa.worldwind.render.airspaces.TrackAirspace
addLeg, addLeg, addLegs, areLegsDisjoint, computeJoiningPlane, doComputeExtent, doRenderExtent, doRenderGeometry, doUpdateLegs, getLegs, isAirspaceVisible, isEnableInnerCaps, isLegsOutOfDate, removeAllLegs, setAltitudes, setEnableInnerCaps, setLegs, setLegsOutOfDate, setTerrainConforming
 
Methods inherited from class gov.nasa.worldwind.render.airspaces.AbstractAirspace
addDetailLevels, clearElevationMap, computeBoundingCylinder, computeBoundingExtent, computeDetailLevel, computeElevationAt, computePointFromPosition, computeReferencePosition, doRender, getAltitudes, getAltitudes, getAttributes, getDetailLevels, getExpiryRange, getExpiryTime, getExtent, getGeometryBuilder, getGeometryCache, getRenderer, getRestorableState, isAirspaceCollapsed, isEnableLevelOfDetail, isExpired, isExtentOutOfDate, isTerrainConforming, isVisible, move, moveTo, nextExpiryTime, render, renderExtent, renderGeometry, restoreState, setAltitude, setAttributes, setDetailLevels, setEnableLevelOfDetail, setExpiryRange, setExpiryTime, setExtentOutOfDate, setGeometryBuilder, setRenderer, setTerrainConforming, setVisible, updateExpiryCriteria
 
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.nasa.worldwind.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 

Constructor Detail

Route

public Route()

Route

public Route(AirspaceAttributes attributes)

Route

public Route(List<? extends LatLon> locations,
             double width)
Method Detail

addLeg

public Box addLeg(LatLon start,
                  LatLon end)

addLocations

protected void addLocations(Iterable<? extends LatLon> newLocations)

doGetRestorableState

protected void doGetRestorableState(RestorableSupport rs,
                                    RestorableSupport.StateObject context)
Overrides:
doGetRestorableState in class TrackAirspace

doMoveTo

protected void doMoveTo(Position oldRef,
                        Position newRef)
Overrides:
doMoveTo in class TrackAirspace

doRestoreState

protected void doRestoreState(RestorableSupport rs,
                              RestorableSupport.StateObject context)
Overrides:
doRestoreState in class TrackAirspace

getLocations

public Iterable<? extends LatLon> getLocations()

getReferencePosition

public Position getReferencePosition()
Specified by:
getReferencePosition in interface Movable
Overrides:
getReferencePosition in class TrackAirspace

getWidth

public double getWidth()

setLocations

public void setLocations(Iterable<? extends LatLon> locations)

setWidth

public void setWidth(double width)

NASA World Wind

Hosted by docs.bugaco.com