HalfEdge.face_sample

HalfEdge.face_sample(size=1)[source]

A random sample of the faces.

Parameters

size (int, optional) – The number of faces in the random sample.

Returns

list[int] – The identifiers of the faces.