hexify_which_face: Determine which face contains a point

View source: R/hexify_projection.R

hexify_which_faceR Documentation

Determine which face contains a point

Description

Returns the icosahedral face index (0-19) containing the given coordinates.

Usage

hexify_which_face(lon, lat)

Arguments

lon

Longitude in degrees

lat

Latitude in degrees

Value

Integer face index (0-19)

See Also

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

Examples

face <- hexify_which_face(16.37, 48.21)

hexify documentation built on March 1, 2026, 1:07 a.m.