i have normal to a plane and its distance from origin i.e. 4 components for each plane. if i have given 3 such planes and know that they are intersecting at a single point. how do i calculate coordinates of that point in my C program?

  • $\begingroup$ This does not appear to have anything to do with the software Mathematica (Wolfram Language). $\endgroup$ – Bob Hanlon Mar 3 '16 at 2:11

If your normal is (a, b, c), then your plane is given by the equation ax+by+cz=d, where d is chosen to match the distance from the origin.

Then you have three equations to solve, say:




This is easiest done by writing them in the form of $M \cdot \left\{\begin{array}{c}x\\y\\z\end{array}\right\} = \left\{\begin{array}{c}d\\e\\f\end{array}\right\}$, where $M=\left\{\begin{array}{rcl}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{array}\right\}$, and multiplying on the left by $M^{-1}$.

I can give more details if needed; just let me know which part is not clear.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.