Metraipolis › archive › dc_df0219076b69

Bentley–Ottmann algorithm — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Bentley%E2%80%93Ottmann_algorithm
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-15T19:06:16.258Z
SHA-256 of the archived text
507e105e98d0cc5ad7adcde1c3746b318ca8bef3ad0d0a01f319c1c25b1d796a
Stable URL of this page
https://metraipolis.com/documento/dc_df0219076b69

How to cite

Bentley–Ottmann algorithm — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Bentley%E2%80%93Ottmann_algorithm (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_df0219076b69 (Metraipolis archive dc_df0219076b69, sha256 507e105e98d0cc5ad7adcde1c3746b318ca8bef3ad0d0a01f319c1c25b1d796a)
BibTeX
@misc{dcdf0219076b69,
  title = {Bentley–Ottmann algorithm — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Bentley%E2%80%93Ottmann_algorithm},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_df0219076b69; sha256 507e105e98d0cc5ad7adcde1c3746b318ca8bef3ad0d0a01f319c1c25b1d796a},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Bentley%E2%80%93Ottmann_algorithm. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

In computational geometry, the Bentley–Ottmann algorithm is a 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. It extends the Shamos–Hoey algorithm, a similar previous algorithm for testing whether or not a set of line segments has any crossings. For an input consisting of n {\displaystyle n} line segments with k {\displaystyle k} crossings (or intersections), the Bentley–Ottmann algorithm takes time O ( ( n + k ) log n ) {\displaystyle {\mathcal {O}}((n+k)\log n)} . In cases where k = o ( n 2 log n ) {\displaystyle k={\mathcal {o}}\left({\frac {n^{2}}{\log n}}\right)} , this is an improvement on a naïve algorithm that tests every pair of segments, which takes Θ ( n 2 ) {\displaystyle \Theta (n^{2})} . The algorithm was initially developed by Jon Bentley and Thomas Ottmann (1979); it is described in more detail in the textbooks Preparata & Shamos (1985), O'Rourke (1998), and de Berg et al. (2000). Although asymptotically faster algorithms are now known by Chazelle & Edelsbrunner (1992) and Balaban (1995), the Bentley–Ottmann algorithm remains a practical choice due to its simplicity and low memory requirements.

Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «algorithm»).
Fonte: Wikipedia in inglese, voce «Bentley–Ottmann algorithm» — https://en.wikipedia.org/wiki/Bentley%E2%80%93Ottmann_algorithm
Wikidata Q4060664: «algoritmo» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q4060664
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Bentley%E2%80%93Ottmann_algorithm?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1319650738, consultata il 2026-10-15T18:26:07.830Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 8ec950b793af0f88d701c5bf6a995c1767f1f16e8517fa52a4938b3d5e48ca26