differt.geometry.min_distance_between_cells

differt.geometry.min_distance_between_cells#

min_distance_between_cells(cell_vertices, cell_ids)[source]#

Compute the minimal (Euclidean) distance between vertices in different cells.

For every vertex, the minimum distance to another vertex that is not is the same cell is computed.

For an actual application example, see Multipath Lifetime Map.

Parameters:
Return type:

Float[Array, '*batch']

Returns:

The array of minimal distances.