gov.nasa.worldwind.render.airspaces
Class Route
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.render.airspaces.AbstractAirspace
gov.nasa.worldwind.render.airspaces.TrackAirspace
gov.nasa.worldwind.render.airspaces.Route
- All Implemented Interfaces:
- AVList, ExtentHolder, Movable, Airspace, Renderable, Restorable
public class Route
- extends TrackAirspace
| Fields inherited from class gov.nasa.worldwind.render.airspaces.AbstractAirspace |
airspaceInfo, 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 |
| Methods inherited from class gov.nasa.worldwind.render.airspaces.TrackAirspace |
addLeg, addLeg, addLegs, computeBisectingPlane, computeExtent, computeExtent, computeMinimalGeometry, doRenderExtent, doRenderGeometry, doUpdateLegs, getLegs, getSmallAngleThreshold, isAirspaceVisible, isEnableInnerCaps, isLegsOutOfDate, isRightTurn, isSmallAngle, joinLegs, makeOrderedRenderable, mustJoinLegs, removeAllLegs, setAltitudes, setEnableInnerCaps, setLegs, setLegsOutOfDate, setSmallAngleThreshold, setTerrainConforming |
| Methods inherited from class gov.nasa.worldwind.render.airspaces.AbstractAirspace |
addDetailLevels, adjustForGroundReference, clearElevationMap, computeDetailLevel, computeElevationAt, computeEyeDistance, computeMinimalGeometry, computePointFromPosition, computeReferencePosition, doRender, getAirspaceInfo, getAltitudeDatum, getAltitudes, getAltitudes, getAttributes, getDetailLevels, getExpiryRange, getExpiryTime, getExtent, getExtent, getGeometryBuilder, getGeometryCache, getGroundReference, getRenderer, getRestorableState, isAirspaceCollapsed, isEnableLevelOfDetail, isExpired, isTerrainConforming, isVisible, makeExtremePoints, move, moveTo, nextExpiryTime, render, renderExtent, renderGeometry, restoreState, setAltitude, setAltitudeDatum, setAttributes, setDetailLevels, setEnableLevelOfDetail, setExpiryRange, setExpiryTime, setExtentOutOfDate, setGeometryBuilder, setGroundReference, setRenderer, setTerrainConforming, setVisible, updateExpiryCriteria |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, 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 |
Route
public Route()
Route
public Route(AirspaceAttributes attributes)
Route
public Route(List<? extends LatLon> locations,
double width)
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()
- Description copied from interface:
Movable
- A position associated with the object that indicates its aggregate geographic position. The chosen position
varies among implementers of this interface. For objects defined by a list of positions, the reference position
is typically the first position in the list. For symmetric objects the reference position is often the center of
the object. In many cases the object's reference position may be explicitly specified by the application.
- Specified by:
getReferencePosition in interface Movable- Overrides:
getReferencePosition in class TrackAirspace
- Returns:
- the object's reference position, or null if no reference position is available.
getWidth
public double getWidth()
setLocations
public void setLocations(Iterable<? extends LatLon> locations)
setWidth
public void setWidth(double width)