icosahedron

FV = icosahedron(r=1.0; radius=1.0, origin=(0.0, 0.0, 0.0))::GMTfv

Create an icosahedron mesh with radius r.

Args

  • r: the radius of the enclosing sphere.

Kwargs

  • radius: the keyword radius is an alternative to the positional argument r.

  • origin: A tuple of three numbers defining the origin of the body. Default is (0.0, 0.0, 0.0).

Returns

A GMTfv FacesVertices object.

Example

Create a icosahedron using the default values.

using GMT

FV = icosahedron();
viz(FV)

See Also

cube, cylinder, dodecahedron, octahedron, replicant, sphere, tetrahedron, torus,