Mesh.vertex_neighborhood_centroid
- Mesh.vertex_neighborhood_centroid(key)[source]
Compute the centroid of the neighbors of a vertex.
- Parameters
key (int) – The identifier of the vertex.
- Returns
list[float] – The coordinates of the centroid.
Compute the centroid of the neighbors of a vertex.
key (int) – The identifier of the vertex.
list[float] – The coordinates of the centroid.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev