Decode a cell index to face, i, j, and resolution
Source:R/hexify_conversions.R
index_to_cell_internal.RdInternal function to decode a cell index string into its constituent components: face number, grid coordinates (i, j), and resolution level.
Value
List with components:
- face
Face number (integer)
- i
Grid coordinate i (integer)
- j
Grid coordinate j (integer)
- resolution
Resolution level (integer)
Examples
if (FALSE) { # \dontrun{
# This is an internal function, typically called by other functions
cell_info <- index_to_cell("0112345", aperture = 3, index_type = "z3")
print(cell_info)
} # }