AlgorithmsGeometryEdit on GitHubEdit history
Martínez–Rueda Algorithm
Martínez–Rueda–Feito algorithm2009
Polygon Boolean operation algorithm that processes the edges of two polygons with a plane sweep, subdivides edges at intersection points, and labels each edge fragment as inside or outside the other polygon to compute intersection, union, difference and XOR. It runs in O((n+k) log n) time for k intersections.
Origin
Francisco Martínez, Antonio Jesús Rueda, Francisco Ramón Feito (2009). A new algorithm for computing Boolean operations on polygons. Computers & Geosciences 35(6).doi:10.1016/j.cageo.2008.08.009 — checked against Crossref, 2026-11-08
Lineage
Algorithms 3 · Relations 2
Parent algorithms
Where it came from
Bentley–Ottmann1979
Structural analysisThe Martínez–Rueda algorithm uses, for Boolean operations, the plane-sweep structure that processes edges in endpoint-event order and tests neighbouring edges for intersections.
Notable implementations
Paths checked against the GitHub default branch
- w8r/martinez/src/index.tsTypeScript
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…