Main Content
computeNormals
Description
computeNormals(
computes the unit normal
vector for the vertices and the faces of the surface mesh mesh
)mesh
. The
function overwrites the existing vertex and face normal vectors.
computeNormals(
computes the
unit normal vector for only the mesh vertices. A vertex normal is the average of the face
normal vectors of all the faces that share the vertex. The function uses the existing face
normal vectors to compute the vertex normal vectors. mesh
,"vertices")
computeNormals(
computes the unit
normal vectors for only the mesh faces.mesh
,"faces")
Examples
Input Arguments
Version History
Introduced in R2022b
See Also
surfaceMesh
| vertexCenter
| rotate
| transform
| scale
| crop
| simplify
| subdivide