Finds the intersection of two lines.
[x_int,y_int] = line_intersection(l1,l2)
[x_int,y_int] = line_intersection(l1,l2)
returns the intersection [x_int,y_int]
of two lines.
-
Line 1 can be defined in four different ways:
-
Line 2 can be defined in four different ways:
- See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
- See "Intersection_of_Two_Lines.pdf" (also included with download) for the technical documentation.