rgl.ellipsoid

Share:

Description

Creates an rgl ellipsoid.

Usage

1
2
rgl.ellipsoid(x = 0, y = 0, z = 0, a = 1, b = 1, c = 1, phi = 0,
  theta = 0, psi = 0, subdivide = 3, smooth = TRUE, ...)

Arguments

x

x

y

y

z

z

a

axis

b

axis

c

axis

phi

phi

theta

theta

psi

psi

subdivide

subdivision

smooth

smoothing

...

additional params

Details

Deforms, rotates, and translates a sphere. This code has been extracted from Cpp modules in package cda.

Value

An rgl mesh.

Author(s)

Baptiste Auguie

See Also

ROTcovQUAKE

Examples

1
2
3
4
5
## Not run: 
require(rgl) ;
ee <- Rquake::rgl.ellipsoid()
rgl::shapelist3d(ee) 
## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.