y
y
y
P2
x
x
x
z
rotate so that
P2 lies on z-axis
(2 rotations)
z
z
translate P1
to origin
initial position
y
y
x
x
x
rotate through
requ’d angle, q
z
rotate axis
to orig orientation
z