Convert a surface's EXACT anchor-ENU position (from the pick pass's position attachment) to a
PickedPosition. placement (anchor-ENU → mercator, which embeds the layer's
vertical-datum seat) maps it to mercator, then to geographic; depth01 is the position projected
through the frame matrix so scene-level picks stay cross-layer-comparable. Exact at any camera
angle — no depth reconstruction.
Parameters
placement: Mat4
The layer's anchor-ENU → mercator-world placement matrix (f64).
mvpWorld: Mat4
The frame's mercator-world → clip matrix (for the comparable depth01).
enu: readonly[number,number,number]
The surface's anchor-ENU position [east, north, up] in metres.
Convert a surface's EXACT anchor-ENU position (from the pick pass's position attachment) to a PickedPosition.
placement(anchor-ENU → mercator, which embeds the layer's vertical-datum seat) maps it to mercator, then to geographic;depth01is the position projected through the frame matrix so scene-level picks stay cross-layer-comparable. Exact at any camera angle — no depth reconstruction.