NASA World Wind

gov.nasa.worldwind.terrain
Interface HighResolutionTerrain.IntersectionCallback

Enclosing class:
HighResolutionTerrain

public static interface HighResolutionTerrain.IntersectionCallback

Defines an interface for returning computed intersections.


Method Summary
 void intersection(Position pA, Position pB, Intersection[] intersections)
          Called with the computed intersections for a line.
 

Method Detail

intersection

void intersection(Position pA,
                  Position pB,
                  Intersection[] intersections)
Called with the computed intersections for a line. This method is called only for lines along which intersections occur.

Parameters:
pA - The line's start point.
pB - The line's end point.
intersections - An array of intersections.

NASA World Wind