HalfEdge.face_neighborhood

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

Return the faces in the neighborhood of a face.

Parameters:
keyint

The identifier of the face.

ringint, optional

The size of the neighborhood.

Returns:
list[int]

A list of face identifiers.