This project is part of the @thi.ng/umbrella monorepo.
Quadedge data structure after Guibas & Stolfi.
See the related @thi.ng/geom-voronoi package for concrete usage. This package merely provides the underlying graph data structure.
Reference:
- http://www.cs.cmu.edu/afs/andrew/scs/cs/15-463/2001/pub/src/a2/quadedge.html
- https://github.com/thi-ng/c-thing/blob/develop/src/geom/quadedge.h
- Guibas & Stolfi: Primitives for the manipulation of general subdivisions and the computation of Voronoi diagrams, ACM Transactions on Graphics, 4, 1985, p.75-123
STABLE - used in production
Search or submit any issues for this package
- @thi.ng/geom-voronoi - Fast, incremental 2D Delaunay & Voronoi mesh implementation
yarn add @thi.ng/quad-edge
// ES module
<script type="module" src="https://unpkg.com/@thi.ng/quad-edge?module" crossorigin></script>
// UMD
<script src="https://unpkg.com/@thi.ng/quad-edge/lib/index.umd.js" crossorigin></script>
Package sizes (gzipped, pre-treeshake): ESM: 495 bytes / CJS: 553 bytes / UMD: 656 bytes
None
TODO
Karsten Schmidt
If this project contributes to an academic publication, please cite it as:
@misc{thing-quad-edge,
title = "@thi.ng/quad-edge",
author = "Karsten Schmidt",
note = "https://thi.ng/quad-edge",
year = 2015
}
© 2015 - 2021 Karsten Schmidt // Apache Software License 2.0