Hey All
I am trying to find the intersection point between to lines.
The lines are represented by 2 points
line1 = (x1, y1, z1) (x2, y2, z2)
line2 = (x3, y3, z3) (x4, y4, z4)
I am aware I can achieve the desired outcome through the Intersect method.
However I wanted to avoid the unnecessary adding and removing from the database.
I have tried hashing this out through raw math but I keep running into the problem.
Vertical lines do not work for the intersection equation due to the lack of Y intercept.
http://www.mathopenref.com/coordequation.htmlIs it possible to inverse the intersection equation to work with x intercepts instead of y?
then I could set up 3 intercept types: x, y and vertical perpendicular.
Any math guru's out there able to shed some light?
To recap, what I am looking for is a function using 2 lines, (p1 p2) (p3 p4), that returns the coordinates of the intersection.