




You can find the distance from a point p to a plane, if you know the
coordinates of p and of any point q in the plane, and a vector
v normal to the plane.
Form the vector p  q and take its dot product with v divided
by the magnitude of v.
The magnitude of the result will be the required distance.
You can find the projection of p onto the plane by subtracting
from p.