3 ms·
Another particular interesting representation is Guibas and Stolfi's "quadedge" data structure from their 1985 paper at "Primitives for the manipulation of gene
by modalduality 9y ago
Another particular interesting representation is Guibas and Stolfi's "quadedge" data structure from their 1985 paper at "Primitives for the manipulation of general subdivisions and the computation of Voronoi," source http://dl.acm.org/citation.cfm?doid=282918.282923 http://dl.acm.org/citation.cfm?doid=282918.282923 and pdf at http://www.sccg.sk/~samuelcik/dgs/quad_edge.pdf http://www.sccg.sk/~samuelcik/dgs/quad_edge.pdf.
It really is an elegant use of some basic topology with impressive results, a full Voronoi/Delaunay linear-log time algorithm in less than a page of easily implementable pseudocode (once the data structure is written).
- chancho 9y agoCareful, that pseudocode has a famous error in it. Finding it is an illuminating exercise.
- woliveirajr 9y agoCould you give more details?
- modalduality 9y agoI believe the error is only in the incremental algorithm. Spoiler: https://people.eecs.berkeley.edu/~jrs/meshpapers/GSflaws https://people.eecs.berkeley.edu/~jrs/meshpapers/GSflaws.