The figure helps explaining the question:
I want to use TiKz to draw an arc between $A$ and $B$. Please note several things.
- This is a true 3D problem. There are already questions asked and solved for the 2D case. We assume that $\|B-O\|=\|A-O\|$.
- The common point between the two vectors $O$ does not have to be the origin, but it is not a big deal to translate the whole thing.
- I do not want 3D rotation matrices. I know the exact three coordinates of each of the three points $O$, $A$, and $B$. It is easy to compute the angle between the two vectors using dot product. So we have the range of angles. I want an equation wich is parametrized as a function of an angle between 0 and the angle between the two vectors.
- Any point in the plane of the two vectors can be written as: $P = O + s(B-O) + t(A-O)$. I would like simple expressions for $s$ and $t$ in terms of the components of the vectors.
- A point $X$ in the arc satisfies the equation $\|X-O\|=\|B-O\|$, $X=O + s(B-O)+t(A-O)$. 4 equations with 5 unknowns. I am missing an equation here. Actualy no. We need to eliminate 4 variables to come to the parametrization of the curve.
- Is there an easy way to solve this? (by easy I mean no 3D rotation matrices, no large system of equations.
- Still I would like a solution even if it is messy. Thanks.

