Skip to content

Fast Delaunay triangulation of 2D points implemented in Kotlin.

License

Notifications You must be signed in to change notification settings

ygdrasil-io/Delaunator-Kt

Repository files navigation

Java CI with Gradle

Delaunator Kt

Fast Delaunay triangulation of 2D points implemented in Kotlin.

This code was ported from Delaunator C# project (C#) which is a port from Mapbox's Delaunator project (JavaScript).

Documentation

See https://mapbox.github.io/delaunator/ for more information about the Triangles and Halfedges data structures.

Run Jetpack Compose Desktop application

gradlew :jetpack-compose:run

Add to Gradle project

First declare the repository on your buildscript

repositories {
    maven {
        url = uri("https://gitlab.com/api/v4/projects/25805863/packages/maven")
    }
}

Then add the required dependency regarding your project

dependencies {

    // On MPP Project
    implementation("io.ygdrasil:delaunator-kt:2023.09.22")
    
    // On JS Project
    implementation("io.ygdrasil:delaunator-kt-js:2023.09.22")
}