face_tangent_bundle#
- iskra.directional.face_tangent_bundle(vertices: Tensor, faces: Tensor, edge_flaps: Tensor) tuple[Tensor, Tensor, Tensor, Tensor][SOURCE]#
Construct a tangent bundle for a face-based vector field.
- Parameters:
- Returns:
(
Tensor[Float, [F, 3]]) – Face tangents. (
Tensor[Float, [F, 3]]) – Face binormals. (
Tensor[Complex, [E]]) – Discrete Levi-Civita connection that transports vectors from faceedge_flaps[:, 0]to faceedge_flaps[:, 1]. (
Tensor[Complex, [E, 2]]) – Projection operator. Given a directional in the tangent space of a dual edge, it transports it into the tangent spaces ofedge_flaps[:, 0], resp.edge_flaps[:, 1].