BaseNetwork.edge_midpoint

BaseNetwork.edge_midpoint(u, v)[source]

Return the location of the midpoint of an edge.

Parameters
  • u (hashable) – The key of the start node.

  • v (hashable) – The key of the end node.

Returns

list – The XYZ coordinates of the midpoint.