gov.nasa.worldwind.render.airspaces
Class PartialCappedCylinder
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.render.airspaces.AbstractAirspace
gov.nasa.worldwind.render.airspaces.CappedCylinder
gov.nasa.worldwind.render.airspaces.PartialCappedCylinder
- All Implemented Interfaces:
- AVList, Movable, Airspace, Renderable, Restorable
- Direct Known Subclasses:
- Cake.Layer
public class PartialCappedCylinder
- extends CappedCylinder
A cylinder defined by a geographic position, a radius in meters, and minimum and maximum altitudes.
| 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 |
| Methods inherited from class gov.nasa.worldwind.render.airspaces.CappedCylinder |
computeReferenceCenter, computeTransform, doMoveTo, getCenter, getLoops, getRadii, getReferencePosition, getSlices, getStacks, isEnableCaps, setCenter, setEnableCaps, setLoops, setRadii, setRadius, setSlices |
| 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 |
PartialCappedCylinder
public PartialCappedCylinder()
PartialCappedCylinder
public PartialCappedCylinder(AirspaceAttributes attributes)
PartialCappedCylinder
public PartialCappedCylinder(LatLon location,
double radius)
PartialCappedCylinder
public PartialCappedCylinder(LatLon location,
double radius,
Angle leftAzimuth,
Angle rightAzimuth)
computeAngles
protected double[] computeAngles()
doComputeExtent
protected Extent doComputeExtent(DrawContext dc)
- Overrides:
doComputeExtent in class CappedCylinder
doGetRestorableState
protected void doGetRestorableState(RestorableSupport rs,
RestorableSupport.StateObject context)
- Overrides:
doGetRestorableState in class CappedCylinder
doRenderGeometry
protected void doRenderGeometry(DrawContext dc,
String drawStyle)
- Overrides:
doRenderGeometry in class CappedCylinder
doRestoreState
protected void doRestoreState(RestorableSupport rs,
RestorableSupport.StateObject context)
- Overrides:
doRestoreState in class CappedCylinder
getAzimuths
public Angle[] getAzimuths()
normalizedAzimuth
protected Angle normalizedAzimuth(Angle azimuth)
setAzimuths
public void setAzimuths(Angle leftAzimuth,
Angle rightAzimuth)