I was looking for a solution for finding two intersecting lines. I am aware that this can be done by finding a vector product of two lines.
I have stumbled upon this example here: https://stackoverflow.com/a/42727584
I have gone through the example and used it in a few scenarios and it seems to work pretty well. However, there are three things I don't quite get:
- Why does the vector need to be homogeneous (the part where we fill a column with ones)?
- How does the homogeneous solution differ compared to a non-homogeneous solution (if at all)?
- How come we only check the result for parallelism along the Z-axis and not X and Y as well?
I feel like I am missing something very obvious but I can't wrap my head around on what it is.
Homogeneous coordinates for points and lines in the Euclidean plane are convenient because
So to answer your questions: