Learn R Programming

Morpho (version 2.1)

conv2backf: invert faces' orientation of triangular mesh

Description

inverts faces' orientation of triangular mesh and recomputes vertex normals

Usage

conv2backf(mesh)

Arguments

mesh
triangular mesh of class mesh3d

Value

  • returns resulting mesh

See Also

updateNormals

Examples

Run this code
require(rgl)
data(nose)
shade3d(shortnose.mesh,col=3)
noseinvert <- conv2backf(shortnose.mesh)
## show normals
plotNormals(noseinvert,long=0.01)

Run the code above in your browser using DataLab