plane_geometry {ravetools} | R Documentation |
Create a two-dimensional plane in three dimensional space
Description
Create a two-dimensional plane in three dimensional space
Usage
plane_geometry(width = 1, height = 1, shape = c(2, 2))
Arguments
width , height |
width and height of the plane, must not be |
shape |
length of two to indicate the number of vertices along width
and height, default is only |
Value
A triangular mesh of class 'mesh3d'
Examples
plane <- plane_geometry(5, 10, c(12, 22))
if(FALSE) {
rgl_view({
rgl_call("shade3d", plane, col = 3)
rgl_call("wire3d", plane, col = 1)
})
}
[Package ravetools version 0.2.3 Index]