delaunay v0.1.0 Delaunay
Documentation for Delaunay.
Link to this section Summary
Functions
Delaunay triangulation of points
Link to this section Functions
Link to this function
from(points)
Delaunay triangulation of points
points is an array of tuples: [{x, y}, ...]
## Examples
iex> points |> Delaunay.from
%Delaunay{
...
triangles: [1, 18, 5, 1, 3, 18, 1, 29, 3, 3, 29, 18, ...],
...
}
Link to this function
getEdgePairs(delaunay, i \\ 0)
Link to this function
getEdgePairsWithWeigth(delaunay)
Link to this function
getTriangles(delaunay, i \\ 0)
Link to this function