View source: R/generate_sphere.R
generate_sphere | R Documentation |
Generate a spherical point cloud
generate_sphere(angular_res = 1, r = 1, sph = FALSE)
angular_res |
the angular resolution that sets the spacing between points. |
r |
numeric. The sphere radius. |
sph |
logical. If |
a data.table containing points coordinates.
# generate a sphere sph <- viewshed3d::generate_sphere() # plot the sphere rgl::plot3d(sph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.