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 position
s
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 position
s.
Link to this section Functions
Link to this function
field_centroids(divisions)
field_centroids(GEOF.Planet.Sphere.divisions()) :: centroid_sphere()
Computes a new centroid_sphere
.
The arclength of an edge of an icosahedron.