PickedObject

open class PickedObject

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Cartesian point on the picked surface, reconstructed from the depth buffer at pick time. Set only on non-terrain top picks (terrain picks expose the geographic location via terrainPosition instead). Null when no shape was hit, or when the pick produced no usable depth value (e.g. cleared background).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val layer: Layer?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Skip the depth-buffer unprojection in earth.worldwind.frame.BasicFrameController.resolvePick for picks that live on the terrain surface (rasterised surface shapes / decals). Leaves cartesianPoint null so the caller falls back to the terrain pick's terrainPosition.

Functions

Link copied to clipboard
fun geographicPoint(globe: Globe, result: Position = Position()): Position?

Geographic equivalent of cartesianPoint on the given globe, or null when no depth value was usable.

Link copied to clipboard
open override fun toString(): String