Skip to content

Commit

Permalink
Add Delaunay/Voronoi images to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmackenzie committed Sep 20, 2018
1 parent ee473e3 commit bb0fdaa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/DelaunayTriangulation2d.elm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ module DelaunayTriangulation2d exposing
)

{-| This module provides functionality for working with [Delaunay
triangulations](https://en.wikipedia.org/wiki/Delaunay_triangulation). You can:
triangulations](https://en.wikipedia.org/wiki/Delaunay_triangulation).
![Delaunay triangulation](https://ianmackenzie.github.io/elm-geometry/1.2.0/DelaunayTriangulation2d/DelaunayTriangulation.png)
You can:
- Build a Delaunay triangulation from a set of points or arbitrary vertices
- Add a new vertex to an existing Delaunay triangulation
Expand Down
2 changes: 2 additions & 0 deletions src/VoronoiDiagram2d.elm
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ point, and the collection of the Voronoi regions for a set of points is called
the [Voronoi diagram](https://en.wikipedia.org/wiki/Voronoi_diagram) of those
points.
![Voronoi diagram](https://ianmackenzie.github.io/elm-geometry/1.2.0/VoronoiDiagram2d/VoronoiDiagram.png)
Although some Voronoi regions will be infinite in size, if they are all clipped
to a particular bounding box then they will all be finite, convex polygons. This
module therefore provides functionality for:
Expand Down

0 comments on commit bb0fdaa

Please sign in to comment.