Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotNormals

plots the normals of a triangular surface mesh.


Description

visualises the vertex normals of a triangular surface mesh of class mesh3d. If no normals are contained, they are computed.

Usage

plotNormals(x, length = 1, lwd = 1, col = 1, ...)

Arguments

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.

Author(s)

Stefan Schlager

Examples

## Not run: 
require(rgl)
data(nose)
plotNormals(shortnose.mesh,col=4,long=0.01)
shade3d(shortnose.mesh,col=3)

## End(Not run)

Morpho

Calculations and Visualisations Related to Geometric Morphometrics

v2.8
GPL-2
Authors
Stefan Schlager [aut, cre, cph], Gregory Jefferis [ctb], Dryden Ian [cph]
Initial release
2020-02-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.