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 Feb. 16, 2023, 5:12 p.m.