View source: R/hexify_projection.R
| hexify_build_icosa | R Documentation |
Sets up the icosahedron state for ISEA projection. Uses standard ISEA3H orientation by default (vertex 0 at 11.25E, 58.28N).
hexify_build_icosa(
vert0_lon = ISEA_VERT0_LON_DEG,
vert0_lat = ISEA_VERT0_LAT_DEG,
azimuth = ISEA_AZIMUTH_DEG
)
vert0_lon |
Vertex 0 longitude in degrees (default ISEA_VERT0_LON_DEG) |
vert0_lat |
Vertex 0 latitude in degrees (default ISEA_VERT0_LAT_DEG) |
azimuth |
Azimuth rotation in degrees (default ISEA_AZIMUTH_DEG) |
The icosahedron is initialized lazily at the C++ level when first needed. Manual call is only required for non-standard orientations.
Invisible NULL. Called for side effect.
Other projection:
hexify_face_centers(),
hexify_forward(),
hexify_forward_to_face(),
hexify_get_precision(),
hexify_inverse(),
hexify_projection_stats(),
hexify_set_precision(),
hexify_set_verbose(),
hexify_which_face()
# Use standard ISEA3H orientation
hexify_build_icosa()
# Custom orientation
hexify_build_icosa(vert0_lon = 0, vert0_lat = 90, azimuth = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.