Learn R Programming

hexify (version 0.3.8)

hexify_which_face: Determine which face contains a point

Description

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

Usage

hexify_which_face(lon, lat)

Value

Integer face index (0-19)

Arguments

lon

Longitude in degrees

lat

Latitude in degrees

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

Run this code
face <- hexify_which_face(16.37, 48.21)

Run the code above in your browser using DataLab