vcgPlatonic: create platonic objects as triangular meshes

vcgSphereR Documentation

create platonic objects as triangular meshes

Description

create platonic objects as triangular meshes

Usage

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)

Arguments

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


Rvcg documentation built on Feb. 16, 2023, 5:12 p.m.