Learn R Programming

Rvcg (version 0.24)

vcgFaceNormals: Compute normalized face normals for a mesh.

Description

Compute normalized face normals for a mesh.

Usage

vcgFaceNormals(mesh)

Value

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

Arguments

mesh

triangular mesh of class 'mesh3d', from rgl

Examples

Run this code
data(humface);
hf_facenormals <- vcgFaceNormals(humface);

Run the code above in your browser using DataLab