Euclidean distance: Difference between revisions
Jump to navigation
Jump to search
Eric Lengyel (talk | contribs) No edit summary |
Eric Lengyel (talk | contribs) |
||
Line 36: | Line 36: | ||
* [[Geometric norm]] | * [[Geometric norm]] | ||
* [[ | * [[Magnitude]] | ||
* [[Attitude]] |
Revision as of 05:06, 1 August 2023
The Euclidean distance between geometric objects can be measured by homogeneous magnitudes of attitudes. In particular, the Euclidean distance $$d(\mathbf a, \mathbf b)$$ between two objects a and b is given by
- $$d(\mathbf a, \mathbf b) = \left\Vert\operatorname{att}(\mathbf a \wedge \mathbf b)\right\Vert_\unicode{x25CF} + \left\Vert\mathbf a \wedge \operatorname{att}(\mathbf b)\right\Vert_\unicode{x25CB}$$.
The following table lists formulas for Euclidean distances between the main types of geometric objects in the 4D rigid geometric algebra $$\mathcal G_{3,0,1}$$. These formulas are general and do not require the geometric objects to be unitized. Most of them become simpler if unitization can be assumed.
The points, lines, and planes appearing in the distance formulas are defined as follows:
- $$\mathbf p = p_x \mathbf e_1 + p_y \mathbf e_2 + p_z \mathbf e_3 + p_w \mathbf e_4$$
- $$\mathbf q = q_x \mathbf e_1 + q_y \mathbf e_2 + q_z \mathbf e_3 + q_w \mathbf e_4$$
- $$\mathbf k = k_{vx} \mathbf e_{41} + k_{vy} \mathbf e_{42} + k_{vz} \mathbf e_{43} + k_{mx} \mathbf e_{23} + k_{my} \mathbf e_{31} + k_{mz} \mathbf e_{12}$$
- $$\boldsymbol l = l_{vx} \mathbf e_{41} + l_{vy} \mathbf e_{42} + l_{vz} \mathbf e_{43} + l_{mx} \mathbf e_{23} + l_{my} \mathbf e_{31} + l_{mz} \mathbf e_{12}$$
- $$\mathbf g = g_x \mathbf e_{423} + g_y \mathbf e_{431} + g_z \mathbf e_{412} + g_w \mathbf e_{321}$$