Ray tests for heightfield spanners.