static double shortestRotationSign(double theta)
Let theta be the difference between two angles, alpha and beta: . The sign of shortest rotation to go...
Definition: Vectorial.cpp:10
Class to perform util vector operations.
Definition: Vectorial.h:9
static double shortestRotationSignXY(glm::dvec3 const u, glm::dvec3 const v)
Like the Vectorial::shortestRotationSign function but taking the angle from given normalized director...
Definition: Vectorial.cpp:23
static double directionToAngleXY(glm::dvec3 const u, bool positive=true)
Translate the normalized director vector to the angle it corresponds in range if positive is request...
Definition: Vectorial.cpp:4