Description Usage Arguments Value Author(s) Examples
Visualise a 3D cylinder
1 2 3 4 5 6 7 8 9 10 11 12 |
p_start |
A vector with the start point of the cylinder in 3D (x,y,z) |
orient |
Directional vector of the cylinder axis (x1,y1,z1) |
radius |
Radius of the cylinder (in meter) |
length |
Length of the cylinder (in meter) |
order |
Branch order level of the cylinder. This is optional for coloring. Default 0 |
n_seg |
Number of segments that draw the cylinder. Default 12 |
axis |
Display the cylinder axis. Default to FALSE. |
cylinders |
Display the cylinder. Defaut to TRUE. |
circles |
Display circles at the end of the cylinder. Default to FALSE. |
transparent |
Makes the cylinder transparent. Default to TRUE with transparency of 0.3 |
Does not return anything at the moment.
Matthias Kunz, last updated: 29.04.2019
1 | cylinder3d(p_start = c(0,0,0), orient = c(1,1,1), radius = 0.25, length = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.