invertFaces {Morpho}R 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)

[Package Morpho version 2.12 Index]