plotNormals | R Documentation |
visualises the vertex normals of a triangular surface mesh of class mesh3d. If no normals are contained, they are computed.
plotNormals(x, length = 1, lwd = 1, col = 1, ...)
x |
object of class "mesh3d" |
length |
either a single numeric value or a numeric vector defining per-normals lenght (default is 1) |
lwd |
width of the normals |
col |
color of the normals |
... |
addtional parameters, currently not in use. |
Stefan Schlager
## Not run:
require(rgl)
data(nose)
plotNormals(shortnose.mesh,col=4,length=0.01)
shade3d(shortnose.mesh,col=3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.