vcgSphere | R Documentation |
create platonic objects as triangular meshes
vcgSphere(subdivision = 3, normals = TRUE)
vcgSphericalCap(angleRad = pi/2, subdivision = 3, normals = TRUE)
vcgTetrahedron(normals = TRUE)
vcgDodecahedron(normals = TRUE)
vcgOctahedron(normals = TRUE)
vcgIcosahedron(normals = TRUE)
vcgHexahedron(normals = TRUE)
vcgSquare(normals = TRUE)
vcgBox(mesh = vcgSphere(), normals = TRUE)
vcgCone(r1, r2, h, normals = TRUE)
subdivision |
subdivision level for sphere (the larger the denser the mesh will be) |
normals |
if TRUE vertex normals are calculated |
angleRad |
angle of the spherical cap |
mesh |
mesh to take the bounding box from |
r1 |
radius1 of the cone |
r2 |
radius2 of the cone |
h |
height of the cone |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.