COMPUTE_MESH_NORMALS

The COMPUTE_MESH_NORMALS function computes normal vectors for a set of polygons described by the input array. The return value is a 3 x M array containing a unit normal for each vertex in the input array.

Calling Sequence

Result = COMPUTE_MESH_NORMALS( fVerts [, iConn] )

Arguments

fVerts

A 3 x M array of vertices.

iConn

A connectivity array (see the POLYGONS keyword to IDLgrPolygon::Init). If no iConn array is provided, it is assumed that the verticies in fVerts constitute a single polygon.

Keywords

None.