Learn R Programming

unfoldr (version 0.7.1)

cylinders3d: Cylinder system 3D

Description

Draw spherocylinders in 3D

Usage

cylinders3d(S, box, draw.axes = FALSE, draw.box = TRUE, clipping = FALSE, ...)

Arguments

S

list of cylinders, see simPoissonSystem

box

simulation box

draw.axes

logical, whether to show the axes

draw.box

logical, whether to show the bounding box

clipping

logical, whether to clip all lateral planes of the simulation box

...

further material properties passed to 3d plotting functions

Details

The function requires the package 'rgl' to draw spherocylinders into a 3D 'rgl' image. For an example please see the file 'simCylinders.R'.