Description Usage Arguments Value Examples
Draws a 2D circle on x- and y-plane around a center point in 3D space.
1 | draw_circle(centerx, centery, centerz, radius, resolution = 30L)
|
centerx |
x axis value of circle center point |
centery |
y axis value of circle center point |
centerz |
z axis value of circle center point |
radius |
circle radius |
resolution |
amount of circle points (default = 30) |
data.frame with the spatial coordinates of the resulting points
1 2 3 4 5 6 7 8 9 10 11 | draw_circle(
centerx = 4,
centery = 5,
centerz = 1,
radius = 3,
resolution = 20
)
circ <- draw_circle(1,2,3,2)
plot(circ$x, circ$y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.