gov.nasa.worldwind.render
Class SurfacePolyline
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.render.AbstractSurfaceObject
gov.nasa.worldwind.render.AbstractSurfaceShape
gov.nasa.worldwind.render.SurfacePolyline
- All Implemented Interfaces:
- AVList, MeasurableArea, MeasurableLength, Movable, PreRenderable, Renderable, SurfaceObject, SurfaceShape, Restorable
public class SurfacePolyline - extends AbstractSurfaceShape
| Fields inherited from class gov.nasa.worldwind.render.AbstractSurfaceShape |
areaMeasurer, areaMeasurerLastModifiedTime, DEFAULT_CACHE_CAPACITY, DEFAULT_MAX_EDGE_INTERVALS, DEFAULT_MIN_EDGE_INTERVALS, DEFAULT_PATH_TYPE, DEFAULT_TEXELS_PER_EDGE_INTERVAL, drawLocationCache, maxEdgeIntervals, minEdgeIntervals, pathType, renderer, sectorCache, showBoundingSectors, texelsPerEdgeInterval, vertices |
|
Method Summary |
protected void |
addLocations(Iterable<? extends LatLon> locations)
|
protected void |
computeDrawLocations(Globe globe,
double edgeIntervalsPerDegree,
List<LatLon> locations)
|
protected void |
computeLocations(Globe globe,
List<LatLon> locations)
|
protected void |
doMoveTo(Position oldReferencePosition,
Position newReferencePosition)
|
protected void |
doRenderInteriorToRegion(DrawContext dc,
Sector sector,
int x,
int y,
int width,
int height)
|
protected void |
doRenderOutlineToRegion(DrawContext dc,
Sector sector,
int x,
int y,
int width,
int height)
|
Iterable<? extends LatLon> |
getLocations()
|
Position |
getReferencePosition()
|
boolean |
isClosed()
|
void |
setClosed(boolean closed)
|
void |
setLocations(Iterable<? extends LatLon> locations)
|
| Methods inherited from class gov.nasa.worldwind.render.AbstractSurfaceShape |
assembleShapeVertices, beginRenderToRegion, bindShapeData, computeEdgeIntervalsPerDegree, doGetRestorableState, doGetSectors, doRenderBoundingSectors, doRenderToRegion, doRestoreState, endRenderToRegion, getArea, getArea, getAttributes, getDrawLocations, getDrawLocations, getHeight, getLength, getLocations, getMinAndMaxEdgeIntervals, getPathType, getPerimeter, getRenderer, getRestorableState, getSectors, getSurfaceShapeSupport, getTexelsPerEdgeInterval, getWidth, isShowBoundingSectors, legacyRestoreState, move, moveTo, onShapeChanged, pathTypeFromString, preRender, render, renderBoundingSectors, renderInteriorToRegion, renderOutlineToRegion, restoreState, setAttributes, setMinAndMaxEdgeIntervals, setPathType, setShowBoundingSectors, setTexelsPerEdgeInterval, setupAreaMeasurer |
| 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 |
closed
protected boolean closed
locationList
protected List<LatLon> locationList
SurfacePolyline
public SurfacePolyline()
SurfacePolyline
public SurfacePolyline(Iterable<? extends LatLon> locations)
SurfacePolyline
public SurfacePolyline(ShapeAttributes attributes)
SurfacePolyline
public SurfacePolyline(ShapeAttributes attributes,
Iterable<? extends LatLon> locations)
addLocations
protected void addLocations(Iterable<? extends LatLon> locations)
computeDrawLocations
protected void computeDrawLocations(Globe globe,
double edgeIntervalsPerDegree,
List<LatLon> locations)
- Specified by:
computeDrawLocations in class AbstractSurfaceShape
computeLocations
protected void computeLocations(Globe globe,
List<LatLon> locations)
- Specified by:
computeLocations in class AbstractSurfaceShape
doMoveTo
protected void doMoveTo(Position oldReferencePosition,
Position newReferencePosition)
- Specified by:
doMoveTo in class AbstractSurfaceShape
doRenderInteriorToRegion
protected void doRenderInteriorToRegion(DrawContext dc,
Sector sector,
int x,
int y,
int width,
int height)
- Specified by:
doRenderInteriorToRegion in class AbstractSurfaceShape
doRenderOutlineToRegion
protected void doRenderOutlineToRegion(DrawContext dc,
Sector sector,
int x,
int y,
int width,
int height)
- Specified by:
doRenderOutlineToRegion in class AbstractSurfaceShape
getLocations
public Iterable<? extends LatLon> getLocations()
getReferencePosition
public Position getReferencePosition()
- Specified by:
getReferencePosition in interface Movable- Specified by:
getReferencePosition in class AbstractSurfaceShape
isClosed
public boolean isClosed()
setClosed
public void setClosed(boolean closed)
setLocations
public void setLocations(Iterable<? extends LatLon> locations)
|
|