Mathematics
Computer science
Computational geometry
Line segment intersection
Intersection
Algorithm
Output-sensitive algorithm