Distance between each vertex and its neighbours in python

rhinopython
unhandled

(mimosapudica) #1

Hello, I would like to find the neighbours of each node and measure the distance between each node and its neighbours. Could you suggest me a way to do it?

I got vertices of Plankton Mesh and found negihbours using the GetVertexNeighbours function.
However, I do not know how to calculate the distance between each vertex and its neighbour?