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']) – Vertex coordinates.cell_ids (
Int[ArrayLike, '*batch']) – Cell index for each vertex.
- Return type:
- Returns:
Minimal (Euclidean) distance to a vertex in a different cell.