invertFaces: invert faces' orientation of triangular mesh

View source: R/conv2backf.r

invertFacesR Documentation

invert faces' orientation of triangular mesh

Description

inverts faces' orientation of triangular mesh and recomputes vertex normals

Usage

invertFaces(mesh)

Arguments

mesh

triangular mesh of class mesh3d

Value

returns resulting mesh

Author(s)

Stefan Schlager

See Also

updateNormals

Examples



data(nose)
## Not run: 
rgl::shade3d(shortnose.mesh,col=3)

## End(Not run)
noseinvert <- invertFaces(shortnose.mesh)
## show normals
## Not run: 
plotNormals(noseinvert,long=0.01)

## End(Not run)

Morpho documentation built on Feb. 16, 2023, 10:51 p.m.