Mesh.vertex_neighborhood_centroid

Mesh.vertex_neighborhood_centroid(key)[source]

Compute the centroid of the neighbors of a vertex.

Parameters:
keyint

The identifier of the vertex.

Returns:
compas.geometry.Point

The centroid of the vertex neighbors.