public class TerrainLineIntersector extends LineIntersector
LineIntersector.setReferencePosition(gov.nasa.worldwind.geom.Position) and LineIntersector.setPositions(Iterable).LineIntersector.InternalIntersectorallIntersections, endTime, numPositions, numProcessedPositions, numThreads, positions, referencePoint, referencePosition, startTime, terrain, threadPool| Constructor and Description |
|---|
TerrainLineIntersector(Terrain terrain,
int numThreads)
Consruct an terrain intersector.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doPerformIntersection(Position position)
Called to execute an intersection test for one position.
|
getAllIntersections, getEndTime, getIntersections, getNumProcessedPositions, getNumThreads, getPositions, getReferencePosition, getStartTime, getTerrain, performIntersection, run, setPositions, setReferencePositionpublic TerrainLineIntersector(Terrain terrain, int numThreads)
terrain - the terrain to use to determine terrain geometry.numThreads - the number of threads to use.protected void doPerformIntersection(Position position) throws InterruptedException
LineIntersectordoPerformIntersection in class LineIntersectorposition - the position to test.InterruptedException - if the operation is interrupted.s