vcgFaceNormals: Compute normalized face normals for a mesh.

View source: R/vcgUpdateNormals.r

vcgFaceNormalsR Documentation

Compute normalized face normals for a mesh.

Description

Compute normalized face normals for a mesh.

Usage

vcgFaceNormals(mesh)

Arguments

mesh

triangular mesh of class 'mesh3d', from rgl

Value

3xn numeric matrix of face normals for the mesh, where n is the number of faces.

Examples

data(humface);
hf_facenormals <- vcgFaceNormals(humface);


zarquon42b/Rvcg documentation built on April 11, 2024, 3:17 a.m.