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, ExtentHolder, 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
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.airspaces.AbstractAirspace
AbstractAirspace.AirspaceInfo
 
Field Summary
protected static int DEFAULT_SLICES
           
protected static int MINIMAL_GEOMETRY_SLICES
           
 
Fields inherited from class gov.nasa.worldwind.render.airspaces.Polygon
DEFAULT_SUBDIVISIONS, MINIMAL_GEOMETRY_SUBDIVISIONS
 
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
 
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  List<Vec4> computeMinimalGeometry(Globe globe, double verticalExaggeration)
           
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, adjustForGroundReference, computeCartesianPolygon, computeExtent, computeReferenceCenter, doMoveTo, doRenderGeometry, getLocationList, getLocations, getReferencePosition, getSubdivisions, handleUnsuccessfulGeometryCreation, isEnableCaps, makeTessellatedLocations, setEnableCaps, setLocations, setSubdivisions
 
Methods inherited from class gov.nasa.worldwind.render.airspaces.AbstractAirspace
addDetailLevels, adjustForGroundReference, clearElevationMap, computeDetailLevel, computeElevationAt, computeExtent, computeEyeDistance, computeMinimalGeometry, computePointFromPosition, computeReferencePosition, doRender, doRenderExtent, getAirspaceInfo, getAltitudeDatum, getAltitudes, getAltitudes, getAttributes, getDetailLevels, getExpiryRange, getExpiryTime, getExtent, getExtent, getGeometryBuilder, getGeometryCache, getGroundReference, getRenderer, getRestorableState, isAirspaceCollapsed, isAirspaceVisible, isEnableLevelOfDetail, isExpired, isTerrainConforming, isVisible, makeExtremePoints, makeOrderedRenderable, move, moveTo, nextExpiryTime, render, renderExtent, renderGeometry, restoreState, setAltitude, setAltitudeDatum, setAltitudes, setAttributes, setDetailLevels, setEnableLevelOfDetail, setExpiryRange, setExpiryTime, setExtentOutOfDate, setGeometryBuilder, setGroundReference, setRenderer, setTerrainConforming, 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
 

Field Detail

DEFAULT_SLICES

protected static final int DEFAULT_SLICES
See Also:
Constant Field Values

MINIMAL_GEOMETRY_SLICES

protected static final int MINIMAL_GEOMETRY_SLICES
See Also:
Constant Field Values
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()

computeMinimalGeometry

protected List<Vec4> computeMinimalGeometry(Globe globe,
                                            double verticalExaggeration)
Overrides:
computeMinimalGeometry 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