GithubHelp home page GithubHelp logo

triangle.net's Introduction

Triangle.NET

Triangle.NET generates 2D (constrained) Delaunay triangulations and high-quality meshes of point sets or planar straight line graphs. The code is based on Jonathan Richard Shewchuk's Triangle project, see references below.

Features

  • Constrained Delaunay triangulation of planar straight line graphs
  • Incremental, sweepline and divide & conquer Delaunay triangulation algorithms
  • High-quality triangular meshes with minimum/maximum angle constraints
  • Mesh refinement
  • Mesh smoothing using centroidal Voronoi tessellation (CVT)
  • Node renumbering (Cuthill-McKee)
  • Read and write Triangle format files (.node, .poly, .ele)

To get started, take a look at the wiki. There's also an extensive list of examples in the Triangle.Examples project (see overview in the wiki).

License

The original C code published by Jonathan Shewchuk comes with a proprietary license (see Triangle README) which, unfortunately, isn't very clear about how a derived work like Triangle.NET should be handled. Though Triangle.NET was published on Codeplex under the MIT license in 2012 (triangle.codeplex.com, no longer available), I recommend not using this code in a commercial context. This restriction only applies to the Triangle project and specifically those files containing a copyright header pointing to Jonathan Richard Shewchuk. The code contained in the other projects (like Triangle.Rendering or Triangle.Viewer) is released under MIT license.

Due to the unclear licensing situation, there will also be no Nuget package release. For further discussion, please refer to the open issue License Confusion.

References

If you want to learn about the algorithms used in Triangle.NET, I recommend taking a look at the following papers:

  • Jonathan Richard Shewchuk, Triangle: Engineering a 2D Quality Mesh Generator and Delaunay Triangulator (free PDF)
  • Jonathan Richard Shewchuk, Delaunay Refinement Algorithms for Triangular Mesh Generation (free PDF)
  • Hale Erten & Alper Üngör, Triangulations with Locally Optimal Steiner Points (free PDF)

triangle.net's People

Contributors

wo80 avatar geri-borbas avatar foxyseta avatar adriaanpfeiffer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.