gov.nasa.worldwind.render.airspaces
Class Orbit
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.render.airspaces.AbstractAirspace
gov.nasa.worldwind.render.airspaces.Orbit
- All Implemented Interfaces:
- AVList, Movable, Airspace, Renderable, Restorable
public class Orbit
- extends AbstractAirspace
| 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.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 |
DEFAULT_ARC_SLICES
protected static final int DEFAULT_ARC_SLICES
- See Also:
- Constant Field Values
DEFAULT_LENGTH_SLICES
protected static final int DEFAULT_LENGTH_SLICES
- See Also:
- Constant Field Values
DEFAULT_LOOPS
protected static final int DEFAULT_LOOPS
- See Also:
- Constant Field Values
DEFAULT_STACKS
protected static final int DEFAULT_STACKS
- See Also:
- Constant Field Values
Orbit
public Orbit()
Orbit
public Orbit(AirspaceAttributes attributes)
Orbit
public Orbit(LatLon location1,
LatLon location2,
String orbitType,
double width)
computeReferenceCenter
protected Vec4 computeReferenceCenter(DrawContext dc)
computeTransform
protected Matrix computeTransform(DrawContext dc)
doComputeExtent
protected Extent doComputeExtent(DrawContext dc)
- Specified by:
doComputeExtent in class AbstractAirspace
doGetRestorableState
protected void doGetRestorableState(RestorableSupport rs,
RestorableSupport.StateObject context)
- Overrides:
doGetRestorableState in class AbstractAirspace
doMoveTo
protected void doMoveTo(Position oldRef,
Position newRef)
- Overrides:
doMoveTo in class AbstractAirspace
doRenderGeometry
protected void doRenderGeometry(DrawContext dc,
String drawStyle)
- Specified by:
doRenderGeometry in class AbstractAirspace
doRestoreState
protected void doRestoreState(RestorableSupport rs,
RestorableSupport.StateObject context)
- Overrides:
doRestoreState in class AbstractAirspace
getArcSlices
protected int getArcSlices()
getLengthSlices
protected int getLengthSlices()
getLocations
public LatLon[] getLocations()
getLoops
protected int getLoops()
getOrbitType
public String getOrbitType()
getReferencePosition
public Position getReferencePosition()
getStacks
protected int getStacks()
getWidth
public double getWidth()
isEnableCaps
public boolean isEnableCaps()
setArcSlices
protected void setArcSlices(int arcSlices)
setEnableCaps
public void setEnableCaps(boolean enable)
setLengthSlices
protected void setLengthSlices(int lengthSlices)
setLocations
public void setLocations(LatLon location1,
LatLon location2)
setLoops
protected void setLoops(int loops)
setOrbitType
public void setOrbitType(String orbitType)
setWidth
public void setWidth(double width)