faces

m3sh.iterators.faces(obj)[source]

Face iterator.

A vertex \(v\) and a face \(f\) are incident if \(v \in f\). Two faces are incident if they share a common edge. The returned iterator visits the incident faces of obj depending on its type:

Vertex

u21ba traversal of incident faces

Face

u21ba traversal of incident faces

Mesh

in-order traversal of faces

Parameters:

obj (Vertex or Face or Mesh) – The base object.

Yields:

Face

Note

When applied to a mesh, this iterator will skip any deleted faces still present in its face list.