HalfEdge.edge_sample

HalfEdge.edge_sample(size=1)[source]

A random sample of the edges.

Parameters:
sizeint, optional

The number of edges in the random sample.

Returns:
list[tuple[int, int]]

The identifiers of the edges.