to_intrinsic_frame_field#

iskra.directional.to_intrinsic_frame_field(u: Tensor, v: Tensor, tangents: Tensor, binormals: Tensor) Tensor[SOURCE]#

Constructs a frame field from two 3D vectors.

Important

This function assumes that u and v are already in the plane spanned by the basis vectors.

Parameters:
  • u (Tensor[Float, [B, 3]]) – First direction defining the frame field.

  • v (Tensor[Float, [B, 3]]) – Second direction defining the frame field.

  • tangents (Tensor[Float, [B, 3]]) – First basis vector.

  • binormals (Tensor[Float, [B, 3]]) – Second basis vector.

Returns:

(Tensor[Complex, [B, 2]]) – Intrinsic frame field with \(u\) and \(v\) as two of its roots (remaining ones will be \(-u\) and \(-v\)).