Line-line intersection
From Wikipedia, the free encyclopedia
In Euclidean geometry, the intersection of a line and a line can be the empty set, a point, or a line. Distinguishing these cases, and finding the intersection point have use, for example, in computer graphics, motion planning, and collision detection.
The number and locations of possible intersections between two lines and the number of possible lines with no intersections (parallel) with a given line are the distinguishing features of Non-Euclidean geometry. The entry titled Parallel postulate provides additional background on this topic.
[edit] Mathematics
The intersection of two lines and in 2 dimensional space. With line being defined by two points and , and line being defined by two points and . [1]
The intersection of line and can be defined using determinants.
The determinates can be written out as:
Note that the intersection point is for the infinitely long lines defined by the points, rather than the line segments between the points, and can produce an intersection point beyond the lengths of the line segments.
[edit] See also
[edit] References
- ^ Weisstein, Eric W. "Line-Line Intersection." From MathWorld. A Wolfram Web Resource. Retrieved on 2008-01-10.