NASA World Wind

gov.nasa.worldwind.render.airspaces
Class PolyArc

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.Polygon
              extended by gov.nasa.worldwind.render.airspaces.PolyArc
All Implemented Interfaces:
AVList, Movable, Airspace, Renderable, Restorable

public class PolyArc
extends Polygon


Nested Class Summary
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.airspaces.Polygon
Polygon.PolygonGeometry
 
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
PolyArc()
           
PolyArc(AirspaceAttributes attributes)
           
PolyArc(List<? extends LatLon> locations)
           
PolyArc(List<? extends LatLon> locations, double radius, Angle leftAzimuth, Angle rightAzimuth)
           
 
Method Summary
protected  double[] computeAngles()
           
protected  Extent doComputeExtent(DrawContext dc)
           
protected  void doGetRestorableState(RestorableSupport rs, RestorableSupport.StateObject context)
           
protected  void doRenderGeometry(DrawContext dc, String drawStyle)
           
protected  void doRestoreState(RestorableSupport rs, RestorableSupport.StateObject context)
           
 Angle[] getAzimuths()
           
 double getRadius()
           
protected  int getSlices()
           
 void setAzimuths(Angle leftAzimuth, Angle rightAzimuth)
           
 void setRadius(double radius)
           
protected  void setSlices(int slices)
           
 
Methods inherited from class gov.nasa.worldwind.render.airspaces.Polygon
addLocations, computeCartesianPolygon, computeReferenceCenter, doMoveTo, doRenderGeometry, getLocationList, getLocations, getReferencePosition, getSubdivisions, isEnableCaps, setEnableCaps, setLocations, setSubdivisions
 
Methods inherited from class gov.nasa.worldwind.render.airspaces.AbstractAirspace
addDetailLevels, clearElevationMap, computeBoundingCylinder, computeDetailLevel, computeElevationAt, computePointFromPosition, computeReferencePosition, computeSplitSectors, doRender, doRenderExtent, getAltitudes, getAltitudes, getAttributes, getDetailLevels, getExpiryRange, getExpiryTime, getExtent, getGeometryBuilder, getGeometryCache, getRenderer, getRestorableState, isAirspaceCollapsed, isAirspaceVisible, isEnableLevelOfDetail, isExpired, isExtentOutOfDate, isTerrainConforming, isVisible, move, moveTo, nextExpiryTime, render, renderExtent, renderGeometry, restoreState, setAltitude, setAltitudes, setAttributes, setDetailLevels, setEnableLevelOfDetail, setExpiryRange, setExpiryTime, setExtentOutOfDate, setGeometryBuilder, setRenderer, setTerrainConforming, 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

PolyArc

public PolyArc()

PolyArc

public PolyArc(AirspaceAttributes attributes)

PolyArc

public PolyArc(List<? extends LatLon> locations)

PolyArc

public PolyArc(List<? extends LatLon> locations,
               double radius,
               Angle leftAzimuth,
               Angle rightAzimuth)
Method Detail

computeAngles

protected double[] computeAngles()

doComputeExtent

protected Extent doComputeExtent(DrawContext dc)
Overrides:
doComputeExtent in class Polygon

doGetRestorableState

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

doRenderGeometry

protected void doRenderGeometry(DrawContext dc,
                                String drawStyle)
Overrides:
doRenderGeometry in class Polygon

doRestoreState

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

getAzimuths

public Angle[] getAzimuths()

getRadius

public double getRadius()

getSlices

protected int getSlices()

setAzimuths

public void setAzimuths(Angle leftAzimuth,
                        Angle rightAzimuth)

setRadius

public void setRadius(double radius)

setSlices

protected void setSlices(int slices)

NASA World Wind