Mesh.face_neighborhood

Mesh.face_neighborhood(key, ring=1)[source]

Return the faces in the neighborhood of a face.

Parameters
  • key (int) – The identifier of the face.

  • ring (int, optional) – The size of the neighborhood. Default is 1.

Returns

list – A list of face identifiers.