Skip to content

2D Delaunay triangulation C++17 library using Bowyer-Watson

License

Notifications You must be signed in to change notification settings

christianzski/delaunay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delaunay Triangulation

A library to compute the 2D delaunay triangulation of a set of points, using the Bowyer-Watson algorithm. While not the fastest algorithm for triangulation, it's easy enough to understand.

Building

Requirements

  • A C++17 compliant compiler
  • CMake (version 3.x)
mkdir build
cd build
cmake ..
make

Usage

#include "delaunay.h"

int main() {
  std::vector<point> points = ...;
  std::vector<triangle> triangles = delaunay::triangulate(points);
}

References

About

2D Delaunay triangulation C++17 library using Bowyer-Watson

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published