VolMesh.vertex_neighborhood_centroid

VolMesh.vertex_neighborhood_centroid(vertex)[source]

Compute the point at the centroid of the neighbors of a vertex.

Parameters:
vertexint

The identifier of the vertex.

Returns:
compas.geometry.Point

The coordinates of the centroid.