public static interface HighResolutionTerrain.IntersectionCallback
Modifier and Type | Method and Description |
---|---|
void |
exception(java.lang.Exception exception)
Called if an exception occurs during intersection testing.
|
void |
intersection(Position pA,
Position pB,
Intersection[] intersections)
Called with the computed intersections for a line.
|
void exception(java.lang.Exception exception)
exception
- the exception thrown.void intersection(Position pA, Position pB, Intersection[] intersections)
pA
- The line's start point.pB
- The line's end point.intersections
- An array of intersections.