Graph.from_pointcloud
- classmethod Graph.from_pointcloud(cloud, degree=3)[source]
Construct a graph from random connections between the points of a pointcloud.
- Parameters:
- cloud
compas.geometry.Pointcloud
A pointcloud object.
- degreeint, optional
The number of connections per node.
- cloud
- Returns:
compas.datastructures.Graph
A graph object.
See also