In the $n$-dimensional Euclidean space, given two vectors $\vec{OA}$ and $\vec{OB}$ (not collinear), their angle AOB is $\theta$. Now there is a vector $\vec{OC}$, the angle AOC is also equal to $\theta$. I want the general transformation for all the possible $\vec{OC}$s.
In case I describe it incorrectly, I give a example in $3D$. Imagine a circular cone, $\vec{OA}$ is like the rotation axis, $\vec{OB}$ is like one of the generatrixes, then all the possible $\vec{OC}$s also form the set of generatrixes.
(ps: I don't think it's a simple pure rotation problem...)
I dont know if this is what you want, but maybe it helps:
$ M = \{ V \in \mathbb{R}^n| \angle(A-O,V-O) = \angle(A-O,C-O) \} = \{V \in \mathbb{R}^n | \frac{<A-O,V-O>}{||A-O|| \ ||V-O||} =\frac{<A-O,C-O>}{||A-O|| \ ||C-O||} \} = \{V \in \mathbb{R}^n | \frac{<A-O,V-O>}{ \ ||V-O||} =\frac{<A-O,C-O>}{ \ ||C-O||} =: c \} = \{V \in \mathbb{R}^n | {<A-O,\frac{V-O}{||V-O||}>}{ \ } = <A-O,\frac{C-O}{ \ ||C-O||}> \} = \{V \in \mathbb{R}^n | {<A-O,\frac{V-O}{||V-O||}-\frac{C-O}{ \ ||C-O||}>}{ \ } = 0 \} \ i.e. \ \frac{V-O}{||V-O||}-\frac{C-O}{ \ ||C-O||} \in Ker( <A-O, *>) = (A-O)^\bot $ Hence, all the Vectors in the orthogonal complement of $ A-O$. Now to get back to the $V$, take any vector $v$ in $ (A-O)^\bot , $add $\ c, $ multiply by any nonzero number $a$, (pointing in the same direction, i.e. don't switch signs) and add O.