public class ShapeLineIntersector extends LineIntersector
Renderables. The lines are specified
 with a common origin and multiple end positions. For each end position this class computes the intersections of all
 specified renderables with a line between that position and a reference position. See LineIntersector.setReferencePosition(gov.nasa.worldwind.geom.Position) and setRenderables(Iterable).LineIntersector.InternalIntersector| Modifier and Type | Field and Description | 
|---|---|
protected Iterable<Renderable> | 
renderables  | 
allIntersections, endTime, numPositions, numProcessedPositions, numThreads, positions, referencePoint, referencePosition, startTime, terrain, threadPool| Constructor and Description | 
|---|
ShapeLineIntersector(Terrain terrain,
                    int numThreads)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
doPerformIntersection(Position position)
Called to execute an intersection test for one position. 
 | 
Iterable<Renderable> | 
getRenderables()  | 
boolean | 
hasRenderables()
Indicates whether this intersector has renderables specified. 
 | 
protected List<Intersection> | 
performRenderableIntersection(Line line,
                             Renderable renderable)  | 
void | 
setRenderables(Iterable<Renderable> renderables)
Specifies the renderables to intersect with the line. 
 | 
getAllIntersections, getEndTime, getIntersections, getNumProcessedPositions, getNumThreads, getPositions, getReferencePosition, getStartTime, getTerrain, performIntersection, run, setPositions, setReferencePositionprotected Iterable<Renderable> renderables
public ShapeLineIntersector(Terrain terrain, int numThreads)
protected void doPerformIntersection(Position position) throws InterruptedException
LineIntersectordoPerformIntersection in class LineIntersectorposition - the position to test.InterruptedException - if the operation is interrupted.spublic Iterable<Renderable> getRenderables()
public boolean hasRenderables()
protected List<Intersection> performRenderableIntersection(Line line, Renderable renderable) throws InterruptedException
InterruptedExceptionpublic void setRenderables(Iterable<Renderable> renderables)
renderables - the renderables to intersect.