The length of the projection of the line segment joining the points on the plane is equal to
Find the foot of the perpendiculars of the points on the plane and then find the distance between those two points.
The length is projection of on the plane
It implies , where is angle between the line and the normal vector to the plane.
Hence,
Therefore, the projection is