I'm trying to find the scale factor that scale a point onto plane in 3D Space. I have the following information:
- Point on a plane: $a = (x_1,y_1,z_1)$
- Plane equation: $P\colon Ax + By + Cz +D =0$; therefore, the normal of the plane must be $n=(A,B,C)$.
- Point in 3D space $b = (x_2,y_2,z_2)$.
How we can find a scale factor $s$ that maps the point $b$ to the plane $P$?
Thanks for the Help!
Assuming you are given the point $a$ and normal vector $n$, you get $D$ from the plane equation immediatly. Now for the scaled point $sb=(sx_2, sy_2, sz_2)$ to be on the plane $P$ we need $$ Asx_2+Bsy_2+Csz_2+D=0 $$ which is equivalent to $$ s(Ax_2+By_2+Cz_2)=-D. $$ If $Ax_2+By_2+Cz_2\neq 0$, this has a unique solution.
In the case $Ax_2+By_2+Cz_2= 0$ we have $2$ possibilities: