HalfEdge.face_neighborhood

HalfEdge.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.

Returns

list[int] – A list of face identifiers.