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 – The identifiers of the faces.