point_tetrahedron_dist_matrix#

iskra.geometry.distances.point_tetrahedron_dist_matrix(x: Tensor, tetrahedra: Tensor) Tensor[SOURCE]#

Pairwise distances between a set of points and a set of tetrahedra.

Parameters:
  • x (Tensor[Float, [Bs1, N, Dim]]) – Set of points.

  • tetrahedra (Tensor[Float, [Bs2, M, 4, Dim]]) – Set of tetrahedra.

Returns:

(Tensor[Float, [Bs3, N, M]]) – Pairwise point-tetrahedron distances.