edge_barycentric_coordinates# iskra.geometry.barycentric.edge_barycentric_coordinates(x: Tensor, edges: Tensor, eps: float = 1e-12) → tuple[Tensor, Tensor][SOURCE]# Computes the barycentric coordinates of points on edges. Parameters: x (Tensor[Float, [Bs, Dim]]) – Batched points of dimension Dim, with Dim being of dimension 1 or larger. edges (Tensor[Float, [Bs, 2, Dim]]) – Batched edge endpoints. eps (float) – Numerical epsilon to use when dividing by the length of an edge. Returns: (Tensor[Float, [Bs, 2]]) – Barycentric coordinates. (Tensor[Bool, [Bs]]) – Boolean indicating whether the barycentric weights were valid, i.e. whether the edge was non-degenerate.