HalfEdge.edge_sample

HalfEdge.edge_sample(size=1)[source]

A random sample of the edges.

Parameters

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

Returns

list[tuple[int, int]] – The identifiers of the edges.