Mesh Generation and Surface Tessellation
Overview
Makes the 'Qhull' library http://www.qhull.org available in R, in a similar manner as in Octave and MATLAB. Qhull computes convex hulls, Delaunay triangulations, halfspace intersections about a point, Voronoi diagrams, furthest-site Delaunay triangulations, and furthest-site Voronoi diagrams. It runs in 2D, 3D, 4D, and higher dimensions. It implements the Quickhull algorithm for computing the convex hull. Qhull does not support constrained Delaunay triangulations, or mesh generation of non-convex objects, but the package does include some R functions that allow for this.
BUG FIX
- Issue #75: More sanitiser issues https://github.com/davidcsterratt/geometry/issues/76 This update resolves another issue with memory sanitisation observed when compiling in an UBSAN environment. Thanks to Brian Ripley for running the tests and reporting the error, and Tomas Kalibera for suggesting and testing the fix.
From NEWS in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-04-10
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-09
- OK14 OK2026-03-10
Documentation
- Help pages
- 32
- Examples that run
- 84%16 run in a plain check · 3 never run
- Exported functions with examples
- 59%
- Documented parameters
- 98%
- Return-value docs
- 88%
- Help pages citing references
- 25%
Also includes 1 demo script (run with demo())
- Qhull examples PDF
Downloads
Repository
- PRs merged (all time)
- 94%
- Median days to close, 50 most recently updated closed issues
- 348
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Issues over time
PRs over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/davidcsterratt/geometry on 2026-10-11.
GitHub Pages site last deployed 2025-02-08
Dependencies
Installing geometry adds 6 packages (2 with compiled code, 2.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, lpSolve 457 KB, magic 176 KB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 24 more dependents and 24 packages that suggest it on CRAN ↗
Code & Tests
Datasets
People & History
Previously maintained by Robert B. Gramacy (0.1 to 0.1-7) and Raoul Grasman (0.0-2).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.5.2Latest
- 0.5.12025-01-10 · diff ↗
- 0.5.02024-08-31 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.4.72023-02-04 · diff ↗
- 0.4.6.12022-07-04 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.4.62022-04-18 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.4.52019-12-04 · diff ↗
- 0.4.42019-09-03 · diff ↗
- 0.4.32019-08-21 · diff ↗
Show 45 earlier eventsHide 45 earlier events
- unarchivedReturned to CRAN2019-07-12
- 0.4.22019-07-12 · diff ↗
- orphanedOrphaned by its maintainer2019-07-02misuse of package= for PACKAGE= was not corrected despite reminder
- 0.4.1.12019-07-02 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.4.12019-03-27 · diff ↗
- 0.4.02019-02-18 · diff ↗ ·
added 10 exports
cart2pol, cart2sph, feasible.point, halfspacen, inhulln, intersectn, pol2cart, rbox, sph2cart, to.mesh3d - RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 0.3-62015-09-09 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 0.3-52014-11-08 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 0.3-42014-03-06 · diff ↗
- 0.3-32013-04-19 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 0.3-22012-05-12 · diff ↗
- 0.3-12012-05-01 · diff ↗
- 0.3-0
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- 0.2-0
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- 0.1-72010-01-10 · diff ↗
- 0.1-62010-01-08 · diff ↗
- 0.1-52010-01-05 · diff ↗
- RR 2.10.0 released · 2009-10-26
- RR 2.9.0 released · 2009-04-17
- RR 2.8.0 released · 2008-10-20
- 0.1-42008-09-19 · diff ↗
- 0.1-32008-07-14 · diff ↗
- 0.1-22008-05-13 · diff ↗
- RR 2.7.0 released · 2008-04-22
- 0.1-12008-04-15 · diff ↗
- 0.12007-12-12 · diff ↗
- RR 2.6.0 released · 2007-10-03
- RR 2.5.0 released · 2007-04-24
- RR 2.4.0 released · 2006-10-03
- RR 2.3.0 released · 2006-04-24
- RR 2.2.0 released · 2005-10-06
- 0.0-22005-06-08
- RR 2.1.0 released · 2005-04-18
Package metadata
- First published
- 2005-06-08
- Total releases
- 30 / 21 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 1.1 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("geometry")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.