|
inlineconstexpr |
Callable object computing the semipolar coordinates from a quaternion.
This function is the reciprocal of from_semipolar
Parameters
q: quaternion
Return value
a tuple containing in this order rho, alpha, theta1, theta2: the components of the semipolar parametrisation of \f$\mathbb{R}^4\f$ coordinates. If the radpi is used alpha, theta1 and theta2 are given in \(\pi\) multiples else in radian.