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);


Rvcg documentation built on June 27, 2024, 5:10 p.m.