NASA World Wind

gov.nasa.worldwind.render
Class SurfacePolyline

java.lang.Object
  extended by gov.nasa.worldwind.render.AbstractSurfaceObject
      extended by gov.nasa.worldwind.render.AbstractSurfaceShape
          extended by gov.nasa.worldwind.render.SurfacePolygon
              extended by gov.nasa.worldwind.render.SurfacePolyline
All Implemented Interfaces:
MeasurableArea, MeasurableLength, Movable, PreRenderable, Renderable, SurfaceObject, SurfaceShape, Restorable

public class SurfacePolyline
extends SurfacePolygon


Field Summary
 
Fields inherited from class gov.nasa.worldwind.render.SurfacePolygon
locationList
 
Fields inherited from class gov.nasa.worldwind.render.AbstractSurfaceShape
areaMeasurer, areaMeasurerLastModifiedTime, drawLocations, drawLocationsLastModifiedTime, edgeIntervalsPerDegree, pathType, renderer
 
Fields inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject
lastModifiedTime, visible
 
Constructor Summary
SurfacePolyline()
           
SurfacePolyline(Iterable<? extends LatLon> locations)
           
SurfacePolyline(ShapeAttributes attributes)
           
SurfacePolyline(ShapeAttributes attributes, Iterable<? extends LatLon> locations)
           
 
Method Summary
protected  void computeLocations(Globe globe, List<LatLon> locations)
           
protected  void doRenderToRegion(DrawContext dc, Sector sector, int x, int y, int width, int height)
           
 
Methods inherited from class gov.nasa.worldwind.render.SurfacePolygon
addLocations, doGetRestorableState, doMoveTo, doRestoreState, getLocations, getReferencePosition, legacyRestoreState, setLocations
 
Methods inherited from class gov.nasa.worldwind.render.AbstractSurfaceShape
getArea, getArea, getAttributes, getDrawLocations, getEdgeIntervalsPerDegree, getHeight, getLength, getLocations, getPathType, getPerimeter, getRenderer, getRestorableState, getSectors, getSurfaceShapeSupport, getWidth, move, moveTo, onShapeChanged, pathTypeFromString, preRender, render, restoreState, setAttributes, setEdgeIntervalsPerDegree, setPathType, setupAreaMeasurer
 
Methods inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject
getLastModifiedTime, isVisible, renderToRegion, setVisible, updateModifiedTime
 
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.render.SurfaceObject
getLastModifiedTime, isVisible, renderToRegion, setVisible
 

Constructor Detail

SurfacePolyline

public SurfacePolyline()

SurfacePolyline

public SurfacePolyline(Iterable<? extends LatLon> locations)

SurfacePolyline

public SurfacePolyline(ShapeAttributes attributes)

SurfacePolyline

public SurfacePolyline(ShapeAttributes attributes,
                       Iterable<? extends LatLon> locations)
Method Detail

computeLocations

protected void computeLocations(Globe globe,
                                List<LatLon> locations)
Overrides:
computeLocations in class SurfacePolygon

doRenderToRegion

protected void doRenderToRegion(DrawContext dc,
                                Sector sector,
                                int x,
                                int y,
                                int width,
                                int height)
Overrides:
doRenderToRegion in class SurfacePolygon

NASA World Wind