Mesh.edge_length

Mesh.edge_length(u, v)[source]

Return the length of an edge.

Parameters
  • u (int) – The key of the start vertex.

  • v (int) – The key of the end vertex.

Returns

float – The length of the edge.