HalfEdge.vertex_sample

HalfEdge.vertex_sample(size=1)[source]

A random sample of the vertices.

Parameters:
sizeint, optional

The number of vertices in the random sample.

Returns:
list[int]

The identifiers of the vertices.