Package gov.nasa.worldwind.terrain
Interface HighResolutionTerrain.IntersectionCallback
-
- Enclosing class:
- HighResolutionTerrain
public static interface HighResolutionTerrain.IntersectionCallbackDefines an interface for returning computed intersections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexception(java.lang.Exception exception)Called if an exception occurs during intersection testing.voidintersection(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.
-
exception
void exception(java.lang.Exception exception)
Called if an exception occurs during intersection testing.- Parameters:
exception- the exception thrown.
-
-