If I have six variables representing two lines in general equation form (ax + by + c = 0). So for example:
ax + by + c = 0
jx + ky + l = 0
How can I find the intersection point’s (x and y) [assuming there is one] from the six variables?
PS. Any recommendation of a good source for information on very simply computational geometry, like this, would be appreciated.
The intersection point satisfies both equations. So all you need is to solve them simultaneously:
And similarly for x. (Or you can substitute the found value for y in any of the original equations and then find x):