Skip to main content
Ctrl+K
Logo image

COMPAS AGS

  • Introduction
  • Installation
  • Examples
    • Basic example
    • Updating the form diagram
    • Optimise the load path
    • Fink Truss
  • API Reference
    • compas_ags
      • compas_ags.ags
      • compas_ags.diagrams
      • compas_ags.exceptions
  • Publications
    • Algebraic Graph Statics
    • Bi-directional Algebraic Graph Statics
    • Interactive Graphic Statics
    • Load-path optimisation of funicular networks
  • License
COMPAS.dev
  • API Reference
  • FormGraph
  • FormGraph.from_pointcloud

FormGraph.from_pointcloud

classmethod FormGraph.from_pointcloud(cloud, degree=3)

Construct a graph from random connections between the points of a pointcloud.

Parameters:
cloudcompas.geometry.Pointcloud

A pointcloud object.

degreeint, optional

The number of connections per node.

Returns:
compas.datastructures.Graph

A graph object.

See also

to_points()
from_obj(), from_lines(), from_nodes_and_edges()
On this page
  • FormGraph.from_pointcloud()

© Copyright Block Research Group - ETH Zurich.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.13.3.