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: Sun Apr 07 2024 07:55:40 GMT-0900 (Hawaii-Aleutian Daylight Time)