encyclopegia.org

Fortune's algorithm

Fortune's algorithm is a sweep line algorithm for generating a Voronoi diagram from a set of points in a plane using O(n log n) time and O(n) space. It was originally published by Steven Fortune in 1986 in his paper "A sweepline algorithm for Voronoi diagrams."

Fortune's algorithm is a sweep line algorithm for generating a Voronoi diagram from a set of points in a plane using O(n log n) time and O(n) space. It was originally published by Steven Fortune in 1986 in his paper "A sweepline algorithm for Voronoi diagrams." ===Pseudocode=== Pseudocode description of the algorithm. let \scriptstyle *(z) be the transformation \scriptstyle *(z)=(z_x,z_y+d(z)) , where \scriptstyle d(z) is the Euclidean distance between and the nearest site let be the "beach line" let \scriptstyle R_p be the region covered by site . let \scriptstyle C_{pq} be the boundary ray between sites and . let \scriptstyle S be a set of sites on which this algorithm is to be applied. let \scriptstyle p_1,p_2,...,p_m be the sites extracted from with minimal -coordinate, ordered by -coordinate let DeleteMin( ) be the act of removing the lowest and leftmost site of (sort by y unless they're identical, in which case sort by x) let be the Voronoi map of which is to be constructed by this algorithm Q \gets {p_1,p_2,\dots,p_m,S} create initial vertical boundary rays \scriptstyle C_{p_1,p_2}^0,C_{p_2,p_3}^0,\dots,C_{p_{m-1},p_m}^0 T \gets *(R_{p_1}),C_{p_1,p_2}^0,*(R_{p_2}),C_{p_2,p_3}^0,\dots,*(R_{p_{m-1}}),C_{p_{m-1},p_m}^0,*(R_{p_m}) while not IsEmpty( ) do ← DeleteMin( ) case of is a site in \scriptstyle *(V) : find the occurrence of a region \scriptstyle *(R_q) in containing , bracketed by \scriptstyle C_{rq} on the left and \scriptstyle C_{qs} on the right create new boundary rays \scriptstyle C_{pq}^- and \scriptstyle C_{pq}^+ with bases replace \scriptstyle *(R_q) with \scriptstyle *(R_q),C_{pq}^-,*(R_p),C_{pq}^+,*(R_q) in delete from any intersection between \scriptstyle C_{rq} and \scriptstyle C_{qs} insert into any intersection between \scriptstyle C_{rq} and \scriptstyle C_{pq}^- insert into any intersection between \scriptstyle C_{pq}^+ and \scriptstyle C_{qs} is a Voronoi vertex in \scriptstyle *(V) : let be the intersection of \scriptstyle C_{qr} on the left and \scriptstyle C_{rs} on the right let \scriptstyle C_{uq} be the left neighbor of \scriptstyle C_{qr} and let \scriptstyle C_{sv} be the right neighbor of \scriptstyle C_{rs} in if \scriptstyle q_y = s_y , create a new boundary ray \scriptstyle C_{qs}^0 else if is right of the higher of and , create \scriptstyle C_{qs}^+ else create \scriptstyle C_{qs}^- endif replace \scriptstyle C_{qr},*(R_r),C_{rs} with newly created \scriptstyle C_{qs} in delete from any intersection between \scriptstyle C_{uq} and \scriptstyle C_{qr} delete from any intersection between \scriptstyle C_{rs} and \scriptstyle C_{sv} insert into any intersection between \scriptstyle C_{uq} and \scriptstyle C_{qs} insert into any intersection between \scriptstyle C_{qs} and \scriptstyle C_{sv} record as the summit of \scriptstyle C_{qr} and \scriptstyle C_{rs} and the base of \scriptstyle C_{qs} output the boundary segments \scriptstyle C_{qr} and \scriptstyle C_{rs} endcase endwhile output the remaining boundary rays in ==Weighted sites and disks== ==References== ==External links== Steven Fortune's C implementation Fortune's Voronoi algorithm implemented in C++ Fortune's algorithm implemented in JavaScript archived on GitHub as of August 2015 Fortune's Algorithm Visualization as of 2025 access is blocked

References

  1. Austin, David, Voronoi Diagrams and a Day at the Beach , Feature Column, American Mathematical Society . Wikipedia revision 1320640602, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1320640602
    Cite this reference

    MLA "Austin, David, Voronoi Diagrams and a Day at the Beach , Feature Column, American Mathematical Society . Wikipedia revision 1320640602, retrieved 2026-11-20." Austin, David, Voronoi Diagrams and a Day at the Beach , Feature Column, American Mathematical Society. 2026-11-19. https://www.ams.org/featurecolumn/archive/voronoi.html. Accessed 24 November 2026.

    Chicago "Austin, David, Voronoi Diagrams and a Day at the Beach , Feature Column, American Mathematical Society . Wikipedia revision 1320640602, retrieved 2026-11-20." Austin, David, Voronoi Diagrams and a Day at the Beach , Feature Column, American Mathematical Society. 2026-11-19. https://www.ams.org/featurecolumn/archive/voronoi.html.

    APA Austin, David, Voronoi Diagrams and a Day at the Beach , Feature Column, American Mathematical Society. (2026). Austin, David, Voronoi Diagrams and a Day at the Beach , Feature Column, American Mathematical Society . Wikipedia revision 1320640602, retrieved 2026-11-20. Retrieved November 24, 2026, from https://www.ams.org/featurecolumn/archive/voronoi.html

  2. Steven Fortune. A sweepline algorithm for Voronoi diagrams. Proceedings of the second annual symposium on Computational geometry . Yorktown Heights, New York, United States, pp.313–322. 1986. ISBN 0-89791-194-6 . ACM Digital Library SpringerLink Wikipedia revision 1320640602, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1320640602
    Cite this reference

    MLA "Steven Fortune. A sweepline algorithm for Voronoi diagrams. Proceedings of the second annual symposium on Computational geometry . Yorktown Heights, New York, United States, pp.313–322. 1986. ISBN 0-89791-194-6 . ACM Digital Library SpringerLink Wikipedia revision 1320640602, retrieved 2026-11-20." Steven Fortune. 2026-11-19. https://en.wikipedia.org/wiki/ISBN_(identifier). Accessed 24 November 2026.

    Chicago "Steven Fortune. A sweepline algorithm for Voronoi diagrams. Proceedings of the second annual symposium on Computational geometry . Yorktown Heights, New York, United States, pp.313–322. 1986. ISBN 0-89791-194-6 . ACM Digital Library SpringerLink Wikipedia revision 1320640602, retrieved 2026-11-20." Steven Fortune. 2026-11-19. https://en.wikipedia.org/wiki/ISBN_(identifier).

    APA Steven Fortune. (2026). Steven Fortune. A sweepline algorithm for Voronoi diagrams. Proceedings of the second annual symposium on Computational geometry . Yorktown Heights, New York, United States, pp.313–322. 1986. ISBN 0-89791-194-6 . ACM Digital Library SpringerLink Wikipedia revision 1320640602, retrieved 2026-11-20. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ISBN_(identifier)

  3. Kenny Wong, Hausi A. Müller , An Efficient Implementation of Fortune's Plane-Sweep Algorithm for Voronoi Diagrams , CiteSeerX 10.1.1.83.5571 {{ citation }} : Cite uses deprecated parameter |citeseerx= ( help ) . Wikipedia revision 1320640602, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1320640602
    Cite this reference

    MLA "Kenny Wong, Hausi A. Müller , An Efficient Implementation of Fortune's Plane-Sweep Algorithm for Voronoi Diagrams , CiteSeerX 10.1.1.83.5571 {{ citation }} : Cite uses deprecated parameter |citeseerx= ( help ) . Wikipedia revision 1320640602, retrieved 2026-11-20." Kenny Wong, Hausi A. 2026-11-19. https://en.wikipedia.org/wiki/Hausi_A._Muller. Accessed 24 November 2026.

    Chicago "Kenny Wong, Hausi A. Müller , An Efficient Implementation of Fortune's Plane-Sweep Algorithm for Voronoi Diagrams , CiteSeerX 10.1.1.83.5571 {{ citation }} : Cite uses deprecated parameter |citeseerx= ( help ) . Wikipedia revision 1320640602, retrieved 2026-11-20." Kenny Wong, Hausi A. 2026-11-19. https://en.wikipedia.org/wiki/Hausi_A._Muller.

    APA Kenny Wong, Hausi A. (2026). Kenny Wong, Hausi A. Müller , An Efficient Implementation of Fortune's Plane-Sweep Algorithm for Voronoi Diagrams , CiteSeerX 10.1.1.83.5571 {{ citation }} : Cite uses deprecated parameter |citeseerx= ( help ) . Wikipedia revision 1320640602, retrieved 2026-11-20. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Hausi_A._Muller

  4. a b c de Berg, Mark ; van Kreveld, Marc ; Overmars, Mark ; Schwarzkopf, Otfried (2000), Computational Geometry (2nd revised ed.), Springer-Verlag , ISBN 3-540-65620-0 Section 7.2: Computing the Voronoi Diagram: pp.151–160. Wikipedia revision 1320640602, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1320640602
    Cite this reference

    MLA "a b c de Berg, Mark ; van Kreveld, Marc ; Overmars, Mark ; Schwarzkopf, Otfried (2000), Computational Geometry (2nd revised ed.), Springer-Verlag , ISBN 3-540-65620-0 Section 7.2: Computing the Voronoi Diagram: pp.151–160. Wikipedia revision 1320640602, retrieved 2026-11-20." a b c de Berg, Mark ; van Kreveld, Marc ; Overmars, Mark ; Schwarzkopf, Otfried (2000), Computational Geometry (2nd revi. 2026-11-19. https://en.wikipedia.org/wiki/Mark_de_Berg. Accessed 24 November 2026.

    Chicago "a b c de Berg, Mark ; van Kreveld, Marc ; Overmars, Mark ; Schwarzkopf, Otfried (2000), Computational Geometry (2nd revised ed.), Springer-Verlag , ISBN 3-540-65620-0 Section 7.2: Computing the Voronoi Diagram: pp.151–160. Wikipedia revision 1320640602, retrieved 2026-11-20." a b c de Berg, Mark ; van Kreveld, Marc ; Overmars, Mark ; Schwarzkopf, Otfried (2000), Computational Geometry (2nd revi. 2026-11-19. https://en.wikipedia.org/wiki/Mark_de_Berg.

    APA a b c de Berg, Mark ; van Kreveld, Marc ; Overmars, Mark ; Schwarzkopf, Otfried (2000), Computational Geometry (2nd revi. (2026). a b c de Berg, Mark ; van Kreveld, Marc ; Overmars, Mark ; Schwarzkopf, Otfried (2000), Computational Geometry (2nd revised ed.), Springer-Verlag , ISBN 3-540-65620-0 Section 7.2: Computing the Voronoi Diagram: pp.151–160. Wikipedia revision 1320640602, retrieved 2026-11-20. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Mark_de_Berg

  5. Fortune's algorithm · retrieved 2026-10-19 · rev 1320640602
    Cite this reference

    MLA "Fortune's algorithm." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1320640602. Accessed 24 November 2026.

    Chicago "Fortune's algorithm." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1320640602.

    APA Wikipedia. (2026). Fortune's algorithm. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1320640602

Cite this article

MLA

"Fortune's algorithm." encyclopegia.org, 2025, https://encyclopegia.org/wiki/fortune-s-algorithm. Accessed 24 November 2026.

Chicago

"Fortune's algorithm." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/fortune-s-algorithm.

APA

encyclopegia.org. (2025). Fortune's algorithm. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/fortune-s-algorithm

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
publication date1986Wikipedia
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1320640602 · 0.5 · snapshot enwiki-001320640602

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.