vcgPlatonic: create platonic objects as triangular meshes

Description Usage Arguments

Description

create platonic objects as triangular meshes

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
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, 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 Sept. 8, 2017, 1:07 a.m.