Learn R Programming

hexify (version 0.3.8)

hexify_inverse: Inverse Snyder projection

Description

Converts face plane coordinates back to geographic coordinates.

Usage

hexify_inverse(x, y, face, tol = NULL, max_iters = NULL)

Value

Named numeric vector: c(lon_deg, lat_deg)

Arguments

x

X coordinate on face plane

y

Y coordinate on face plane

face

Face index (0-19)

tol

Convergence tolerance (NULL for default)

max_iters

Maximum iterations (NULL for default)

See Also

Other projection: hexify_build_icosa(), hexify_face_centers(), hexify_forward(), hexify_forward_to_face(), hexify_get_precision(), hexify_projection_stats(), hexify_set_precision(), hexify_set_verbose(), hexify_which_face()

Examples

Run this code
coords <- hexify_inverse(0.5, 0.3, face = 2)

Run the code above in your browser using DataLab