View source: R/hexify_projection.R
| hexify_inverse | R Documentation |
Converts face plane coordinates back to geographic coordinates.
hexify_inverse(x, y, face, tol = NULL, max_iters = NULL)
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) |
Named numeric vector: c(lon_deg, lat_deg)
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()
coords <- hexify_inverse(0.5, 0.3, face = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.