cube.solid.random: Solid Cube

Description Usage Arguments Value Author(s) References Examples

View source: R/cube.R

Description

A function to generate a solid cube with random points

Usage

1
cube.solid.random(p = 3, n = 850 * (2^p))

Arguments

p

dimension of object

n

number of points

Value

points

location of points

edges

edges of the object

Author(s)

Barret Schloerke

References

http://schloerke.github.io/geozoo/cube/

Examples

1
2
## Generates a solid cube with random points
cube.solid.random(p = 3, n = 1000)

geozoo documentation built on May 2, 2019, 5:06 a.m.