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.
A random sample of the edges.
size (int, optional) – The number of edges in the random sample.
list[tuple[int, int]] – The identifiers of the edges.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev