Skip to contents

Projects to a known face (skips face detection).

Usage

hexify_forward_to_face(
  face,
  lon,
  lat,
  projection = c("isea", "fuller"),
  polyhedron = c("icosahedron", "octahedron", "tetrahedron")
)

Arguments

face

Face index (0-19 on the icosahedron)

lon

Longitude in degrees

lat

Latitude in degrees

projection

Face projection: "isea" (Snyder's equal-area projection) or "fuller" (Fuller's projection, defined on the icosahedron only)

polyhedron

The solid: "icosahedron" (default), "octahedron" or "tetrahedron", in its default orientation. Snyder (1992) gives his equal-area projection for each; its angular distortion grows with the faces' size.

Value

Named numeric vector: c(icosa_triangle_x, icosa_triangle_y)