Skip to content

Delaunoï is a 2D library to construct Delaunay triangulation and Voronoï diagram in C#

Notifications You must be signed in to change notification settings

JeremyBois/Delaunoi

Repository files navigation

Delaunay / Voronoï diagrams (Delaunoï)

Delaunoï is a 2D library to construct Delaunay triangulations and Voronoï diagrams using QuadEdge datastructure as described by Leonidas J. Guibas and Jorge Stolfi in the paper Primitives for the manipulation of general subdivisions and the computation of Voronoi diagrams.

This library targets .NET framework 4.6.1.

Applications:

  • Delaunay triangulation on plane / sphere
  • Voronoi / Centroid / Incenter diagram on plane / sphere
  • Random points sampling (Uniform, Halton, Poisson, Fibonnaci) on plane / sphere

Getting started:

Unity examples can be found in:

  • Plane: Assets/Scenes/GuibasStolfiTest
  • Sphere: Assets/Scenes/SphereSamplerTest
  • Poisson sampling: Assets/Scenes/PoissonDiskTest

In order to please Unity you must update your Scripting Runtime Version to 4.X (Edit/ProjectSettings/Player/OtherSettings)

Delaunay on a plane Voronoï on a plane Delaunay on a sphere Voronoï on a sphere

References:

Delaunay triangulation:

Voronoï diagrams:

Generators: