- property TreeMesh.face_normals#
Unit normal vectors for all mesh faces
The unit normal vector defines the direction that is perpendicular to a surface. Calling face_normals returns a numpy.ndarray containing the unit normal vectors for all faces in the mesh. For a 3D mesh, the array would have shape (n_faces, dim). The rows of the output are organized by x-faces, then y-faces, then z-faces vectors.