powered by
This function will display the names of vertices, faces and edges on 3d plots.
gridlabs3d(gridObj, ...)# S4 method for trigrid gridlabs3d(gridObj, type = "f", ...)# S4 method for hexagrid gridlabs3d(gridObj, type = "f", ...)
# S4 method for trigrid gridlabs3d(gridObj, type = "f", ...)
# S4 method for hexagrid gridlabs3d(gridObj, type = "f", ...)
(trigrid, hexagrid) An icosahedral grid.
trigrid
hexagrid
Additional arguments passed to text3d function of the rgl package.
text3d
rgl
(character) Vector containing either "f", "e" or "v", rendering the names of either the faces, edges or vertives respectively.
character
"f"
"e"
"v"
The function does not return any value.
# NOT RUN { # create a hexagonal grid g <- hexagrid(c(2,2)) # plot the grid in 3d space lines3d(g, guides=FALSE) # labels gridlabs3d(g) # }
Run the code above in your browser using DataLab