How to find the intersection of a line and a plane with interpolation ( given two points in the opposite side of the plane)

413 Views Asked by At

I have two points in the opposite side of a plane (P1,P2) in 3D space, and i know their signed distances to the plane(D1,D2). how can i use interpolation to calculate the point that is the intersection of the line of P1P2 and the plane.

thanks

1

There are 1 best solutions below

3
On

The values of the points $(x_1,y_1,z_1)$ and $(x_2,y_2,z_2)$. Let assume ratio of distance from point 1, $d_1$ and point 2, $d_2$ is r. Than for each dimension $P(: x, y, z)$ you calculate the target point value: $P_0 = (P_1-P_2) \times r$ (meaning $P$ takes the values of $x, y, z$)