In computational geometry, the multiple line segment intersection problem supplies a list of line segments in the Euclidean plane and asks whether any two of them intersect (cross).

Simple algorithms examine each pair of segments. However, if a large number of possibly intersecting segments are to be checked, this becomes increasingly inefficient since most pairs of segments are not close to one another in a typical input sequence. The most common, and more efficient, way to solve this problem for a high number of segments is to use a sweep line algorithm, where we imagine a line sliding across the line segments and we track which line segments it intersects at each point in time using a dynamic data structure based on binary search trees. The Shamos–Hoey algorithm[1] applies this principle to solve the line segment intersection detection problem, as stated above, of determining whether or not a set of line segments has an intersection; the Bentley–Ottmann algorithm works by the same principle to list all intersections in logarithmic time per intersection.

See also

edit

References

edit
  1. ^ Shamos, M. I.; Hoey, D. (1976). "17th Annual Symposium on Foundations of Computer Science (sfcs 1976)" (PDF): 208. doi:10.1109/SFCS.1976.16. S2CID 124804. {{cite journal}}: Cite journal requires |journal= (help) Chapter: "Geometric intersection problems"

Further reading

edit
edit


📚 Artikel Terkait di Wikipedia

Line–line intersection

In Euclidean geometry, the intersection of a line and a line can be the empty set, a single point, or a line (if they coincide). Distinguishing these

Intersectionality

something more complicated. While many readers understand intersectionality as the overlapping of multiple social identities (e.g., race, gender, and class),

Mohr–Mascheroni theorem

two points), find a point Q on the line BD so that the length of line segment BQ is a positive integral multiple, say n, of the length of BD and is greater

Least common multiple

the number of rotations the first gear must complete to realign the line segment can be calculated by using lcm ⁡ ( m , n ) {\displaystyle \operatorname

Bentley–Ottmann algorithm

sweep line algorithm for listing all crossings in a set of line segments, i.e. it finds the intersection points (or, simply, intersections) of line segments

Intersection (road)

classify intersections is by the number of road segments (arms) that are involved. A three-way intersection is a junction between three road segments (arms):

Line clipping

Tests are conducted on a given line segment to find out whether it lies outside the view area or volume. Then, intersection calculations are carried out

D Line Extension

extend the D Line westward was approved in 2012, and construction on the first of three sections began in 2014. Section 1, the segment between Wilshire/Western