Planet v0.1.1 GEOF.Planet.Geometry.EdgeMesh

Functions for translating a Planet’s geometry into a wireframe.

Link to this section Summary

Types

The payload given to the 3D environment

Functions

Produces an edge_mesh with two line segments for each non-polar field. Convenience function

Produces an edge_mesh with two line segments for each non-polar field

Link to this section Types

Link to this type edge_mesh()
edge_mesh() :: [position: [float(), ...], index: [non_neg_integer(), ...]]

The payload given to the 3D environment.

Link to this section Functions

Link to this function poly_per_field(divisions)
poly_per_field(GEOF.Planet.Sphere.divisions()) :: edge_mesh()

Produces an edge_mesh with two line segments for each non-polar field. Convenience function.

Produces an edge_mesh with two line segments for each non-polar field.