For two positions, I can subtract one from another to get a vector; I can take combination of them to get another position.
My question is, can I treat quaternions in the same way?
To be more specific,
- What is the quaternion equivalent to a vector?
- What is the quaternion equivalent to position combination(barycentric sum)?
- Can I have a quaternion Bézier curve? If yes, is it invariant under some kinds of transformation?
- I think there must be a word to describe the relation between quaternions and positions. What is it? (I expect an "iso_____" or "homo_____")
Well, the answer is yes and no. I assume you're comparing the real quaternions ($\mathbb{H}$) as opposed to the group of 8 elements ($Q$).
Main Similarity:
The quaternions $\mathbb{H}$ do form a vector space of dimension $4$ (with basis $\{1, i, j, k\}$) over the reals $\mathbb{R}$. This means you can add them, multiply them by a scalar, and all the theorems and propositions in linear algebra about vector spaces apply to $\mathbb{H}$ as well.
Main Difference:
You can multiply quaternions, and it's a good example of noncommutative multiplication. The basic rules are:
Also, the reals do commute with respect to quaternions, that is, $r * q = q * r$ so long as $r \in \mathbb{R}$. This is not true for vectors, as you normally don't multiply them. To be precise, $\mathbb{H}$ is a Division Ring, or a skew field, where $\mathbb{R}^{n}$, your position vectors, are not.
So in an attempt to answer your questions: