Hello,
For rotate a vector along an axis and an angle you can use the AxisAngle
class.
Here is an examples:
using namespace ROOT::Math;
XYZVector axis(ax,ay,az);
AxisAngle rot(axis,angle);
XYZVector originalVector(x,y,z);
XYZVector rotatedVector = rot(originalVector);
For Vector::Orthogonal
we don’t have a replacement, I am actually not sure what it is returned, since given a 3D vector, there is an infinite number of orthogonal vectors belonging to the orthogonal plance.
Lorenzo