v2 = Frames.resolveRelative(v1, R1, R2);
The function call
Frames.resolveRelative(v1,R1,R2)
returns vector v resolved in frame 2 (= v1) from vector v
resolved in frame 1 (= v1) given the orientation object R1
that describes the orientation to rotate frame 0 into
frame 1 and orientation object R2 that describes the
orientation to rotate frame 0 into frame 2.
function resolveRelative extends Modelica.Icons.Function; input Real v1[3] "Vector in frame 1"; input Orientation R1 "Orientation object to rotate frame 0 into frame 1"; input Orientation R2 "Orientation object to rotate frame 0 into frame 2"; output Real v2[3] "Vector in frame 2"; end resolveRelative;