FormGraph.node_neighborhood_centroid
-
FormGraph.
node_neighborhood_centroid
(key) Compute the centroid of the neighboring nodes.
- Parameters
key (hashable) – The identifier of the node.
- Returns
list – The coordinates of the centroid.
FormGraph.
node_neighborhood_centroid
(key)Compute the centroid of the neighboring nodes.
key (hashable) – The identifier of the node.
list – The coordinates of the centroid.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev