Awesome
csDelaunay
A .NET library providing Delaunay triangulation and Lloyd relaxation.
This is a port and interpretation of ActionScript library as3delaunay.
- @PouletFrit ported the library from AS3 and added a Lloyd relaxation function.
- @frabert made significant optimizations.
- @charlieturndorf provided a cross-platform build (.NET Standard 2) that will also work on .NET Framework.
Cross-Platform
csDelaunay will run anywhere .NET Standard 2.0 will run. You can build and develop on Windows, Mac, or Linux (requires .NET SDK 2.1.5 or higher).
Mac/Linux Dev Note:
The scripts init.cmd
and build.cmd
are for Windows, but they're very simple and you can do the same thing in the terminal. Please feel free to submit a PR adding bash scripts.
Setup
- Clone the repository (you might wish to create a submodule under another project)
- Download and install the .NET SDK, if you don't have it
- On the command line, navigate to the root folder of your csDelaunay clone
- Run
init.cmd
to bootstrap the dependency manager
Build
- On the command line, navigate to the root folder of your csDelaunay clone
- Run
build.cmd
OR
- Build with Visual Studio