cone3d: Draw a 3D cone

Description Usage Arguments Value Author(s) See Also Examples

View source: R/arrows3d.R

Description

Draws a cone in 3D from a base point to a tip point, with a given radius at the base. This is used to draw nice arrow heads in arrows3d.

Usage

1
cone3d(base, tip, radius = 10, col = "grey", scale = NULL, ...)

Arguments

base

coordinates of base of the cone

tip

coordinates of tip of the cone

radius

radius of the base

col

color

scale

scale factor for base and tip

...

rgl arguments passed down; see rgl.material

Value

returns the integer object ID of the shape that was added to the scene

Author(s)

January Weiner, borrowed from from the pca3d package

See Also

arrows3d

Examples

1
# none yet

matlib documentation built on May 30, 2017, 1:49 a.m.