Template Function t8_orthogonal_tripod(const TVecV1&, TVecV2&, TVecV3&)

Function Documentation

template<T8VecType<3> TVecV1, T8VecType<3> TVecV2, T8VecType<3> TVecV3>
static inline void t8_orthogonal_tripod(const TVecV1 &v1, TVecV2 &v2, TVecV3 &v3)

Compute an orthogonal coordinate system from a given vector.

Parameters:
  • v1[in] 3D vector.

  • v2[out] 3D vector.

  • v3[out] 3D vector.