pickTerrainPosition

open fun pickTerrainPosition(x: Double, y: Double, result: Position): Boolean

More efficient way to determine terrain position at screen point using terrain from last rendered frame.

Return

true if the screen point could be converted; false if the screen point is not on the terrain

Parameters

x

the screen point's X coordinate

y

the screen point's Y coordinate

result

a pre-allocated Position in which to store the computed geographic position