Search code examples
linelinear-algebrapoint

Determine the point of intersection of a line in the xy- plane


This is a linear algebra question which i am expected to understand before i can start tackling 2D and 3D programming. I am a business application programmer but i am exploring an interest in game programming. I realise that this maybe a simple question to some, so please bear with me.

The line L passes through the points P1 (3, -1, 2) and P2 (1, -2, -1). Determine the point of intersection of L in the xy- plane.


Solution

  • Okay using those two points you can find the equation of a line (google finding the equation of a line in 3d) from that point on you can equate the equation of a line and the equation of the xy-plane to figure out their intersection (google finding intersection of two planes in 3D).