Planet v0.1.1 GEOF.Planet.Geometry.FieldCentroids

Functions for computing the positions of the centroids of each Field on a Sphere.

Link to this section Summary

Types

Maps Field indexes to positions

Functions

Computes a new centroid_sphere

l()

The arclength of an edge of an icosahedron

Link to this section Types

Link to this type centroid_sphere()
centroid_sphere() :: %{
  optional(GEOF.Planet.Field.index()) => GEOF.Planet.Geometry.position()
}

Maps Field indexes to positions.

Link to this section Functions

Link to this function field_centroids(divisions)

Computes a new centroid_sphere.

The arclength of an edge of an icosahedron.