torus {geozoo}R Documentation

Torus

Description

A function to generate a torus in any dimension

Usage

torus(p = 3, n = 10000, radius = 2^((p - 2):0))

Arguments

p

dimension of object

n

number of points

radius

radiuses of the torus, set from largest to smallest

Value

points

location of points

edges

edges of the object (null)

Author(s)

Barret Schloerke

References

http://schloerke.github.io/geozoo/mobius/torus/

Examples

## Generates a torus
torus(p = 3, n = 1000)


[Package geozoo version 0.5.1 Index]