tetrahedron_barycentric_coordinates# iskra.geometry.barycentric.tetrahedron_barycentric_coordinates(x: Tensor, tets: Tensor, eps: float = 1e-12) → tuple[Tensor, Tensor][SOURCE]# Computes the barycentric coordinates of points in tetrahedra. Parameters: x (Tensor[Float, [Bs, 3]]) – Batched points in 3 dimensions. tets (Tensor[Float, [Bs, 4, 3]]) – Batched tetrahedra corners. eps (float) – Numerical epsilon to use when dividing by the volume of a tetrahedron. Returns: (Tensor[Float, [Bs, 4]]) – Barycentric coordinates. (Tensor[Bool, [Bs]]) – Boolean indicating whether the barycentric weights were valid, i.e. whether the tetrahedron was non-degenerate.