Let us have 3 points, p0, p1, p2 in 3d space.
These 3 points form a plane.
I have already computed and normalized the normal of the plane (n).
Now, given a point exterior to my plane (p) I would like the distance from this point to my plane.
I have found this question click that treats the solution however I am confused about the final dot product.
In this figure:
The distance from p to the plane is given as |dot ( p-p0 , n )| so the dot between n and the vector going from p0 to p (lets name this vector P (capital P)).
From what I can see using the figure and my own logic, is that the distance from p to the place is basically the length of the projection of P onto n. But the length of this projection is not a complete dot product. A complete dot product would be |P||n|cos(P,n). But I have found that the length of the projection of P onto n is just |P|cos(P,n).
So my questions are:
- Is my thinking correct that the distance from
pto the plane is the projection ofPonton? If not why? - which interpretation is correct and why?
