CellNetwork.edge_midpoint

CellNetwork.edge_midpoint(u, v)

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[float] – The XYZ coordinates of the midpoint.