# Get triangle coordinates for a cell
result <- hexify_cell_to_icosa_tri(cell_id = 1000, resolution = 10, aperture = 3)
print(result)
# Convert back to lon/lat using inverse projection
coords <- hexify_inverse(result$icosa_triangle_face,
result$icosa_triangle_x,
result$icosa_triangle_y)
Run the code above in your browser using DataLab