An open API service indexing awesome lists of open source software.

https://github.com/stla/apollonius

Additively weighted Voronoï diagrams
https://github.com/stla/apollonius

cgal computational-geometry r rcpp voronoi-diagram

Last synced: 11 months ago
JSON representation

Additively weighted Voronoï diagrams

Awesome Lists containing this project

README

          

# Apollonius

*2D Apollonius Graphs*

[![R-CMD-check](https://github.com/stla/Apollonius/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/stla/Apollonius/actions/workflows/R-CMD-check.yaml)

___

An Apollonius graph is also known as an *additively weighted Voronoï diagram*.
Roughly speaking, this is the Voronoï diagram of a series of weighted points,
that can be seen as circles (whose radii are the weights). When all the
weights are equal, this is the ordinary Voronoï diagram.

Some documentation can be found on the
[CGAL website](https://doc.cgal.org/latest/Apollonius_graph_2/index.html#Chapter_2D_Apollonius_Graphs)
and in [this folder](inst/documents).

![](https://raw.githubusercontent.com/stla/Apollonius/main/inst/screenshots/agraph03.gif)

![](https://raw.githubusercontent.com/stla/Apollonius/main/inst/screenshots/enclosedSquare.gif)

___

## Installation

```r
remotes::install_github("stla/gyro")
remotes::install_github("stla/Apollonius")
```

___

## License

This package is provided under the GPL-3 license but it uses the C++ library
[CGAL](https://www.cgal.org/) which requires a license from the
[GeometryFactory](https://geometryfactory.com) if you wish to use it for
commercial purposes.