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:
cell_vertices (
Float[ArrayLike, '*batch 3']) – The array of vertex coordinates.cell_ids (
Int[ArrayLike, '*batch']) – The array of corresponding cell indices.
- Return type:
- Returns:
The array of minimal distances.