DelaunayTriangulation

1.0.0

Delaunay Triangulation implementation written in swift
AlexLittlejohn/DelaunaySwift

What's New

Swift Package Manager & Linux Support

2020-07-08T11:43:32Z

This release adds support for SPM. Yay!

Linux support is also implied with the removal of all dependencies.

Lastly, there are breaking code structure changes with the move from a class Delaunay to using free functions. However, this means that objective-c support is no longer provided.

Example usage:

// Before 1.0.0
Delaunay().triangulate(points)

// Current 1.0.0
triangulate(points)

DelaunayTriangulationSwift

Delaunay Triangulation implementation written in swift https://en.wikipedia.org/wiki/Delaunay_triangulation


Usage

Generate a set of vertices and pass them into Delaunay.triangulate(vertices) which will then return the optimal set of triangles.

See the example project for more details.

Triangulation Example

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Nov 28 2024 15:46:13 GMT-1000 (Hawaii-Aleutian Standard Time)