Ok, so we know that if we have an arbitrary point, $p$, and a normal perpendicular to an arbitrary plane, $n$, the distance from the point to the plane can be computed as follows:
$$distance = p \cdot n - d $$
where the operator '$\cdot$' represents the dot product between two vectors, and $d$ is the distance of the plane itself from the origin.
What I'm not sure about, though, is the visualization of this in my head.
We know that, given two vectors $a$ and $b$:
$$a \cdot b = \cos\theta |a||b| $$
where $\theta$ is the angle between $a$ and $b$; while $|a|, |b|$ are the magnitudes of $a$ and $b$, respectively.
So, I get that. Take the dot product of two vectors, and the cosine itself is simply scaled by the product of the resulting magnitudes (unless they both are normalized, in which case just the cosine is the result itself).
However, in the context of computing the distance from a point to a plane, is it more appropriate to visualize the point as a vector whose tail stems from an arbitrary world-origin in 3D space, or a vector whose tail stems from an arbitrary point within the plane itself?
Of course, the point itself is the head of the vector to visualize here.
