Given two sets of polygons $P_1 = \{s_1,...,s_m\}$ and $P_2=\{s_m+1,...,s_n\}$ with total number of $n$ segments, the previous and next segment on it's polygon can be determined in $O(1)$. Describe a scan-line algorithm that computes all points of $P_1 \cap P_2$ in $O(n).$
2026-03-26 04:28:43.1774499323
Scan line algorithm for intersecting polygons
1.4k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
The algorithm used for this can be the Bentley-Ottman algorithm, Which uses a sweep line. Visit this link for more info (http://en.wikipedia.org/wiki/Bentley%E2%80%93Ottmann_algorithm)