Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ygdrasil-io/delaunator-kt
Fast Delaunay triangulation of 2D points implemented in Kotlin.
https://github.com/ygdrasil-io/delaunator-kt
delaunator delaunay-triangulation kotlin kotlin-library kotlin-multiplatform
Last synced: about 2 months ago
JSON representation
Fast Delaunay triangulation of 2D points implemented in Kotlin.
- Host: GitHub
- URL: https://github.com/ygdrasil-io/delaunator-kt
- Owner: ygdrasil-io
- License: mit
- Created: 2020-08-04T09:50:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T14:45:33.000Z (4 months ago)
- Last Synced: 2024-12-01T12:56:12.345Z (about 2 months ago)
- Topics: delaunator, delaunay-triangulation, kotlin, kotlin-library, kotlin-multiplatform
- Language: Kotlin
- Homepage:
- Size: 2.59 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
![Java CI with Gradle](https://github.com/ygdrasil-io/Delaunator-Kt/workflows/Java%20CI%20with%20Gradle/badge.svg?branch=master)
# Delaunator Kt
Fast [Delaunay triangulation](https://en.wikipedia.org/wiki/Delaunay_triangulation) of 2D points implemented in Kotlin.
This code was ported from [Delaunator C# project](https://github.com/nol1fe/delaunator-sharp) (C#) which is a port from [Mapbox's Delaunator project](https://github.com/mapbox/delaunator) (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
```kotlin
repositories {
maven {
url = uri("https://gitlab.com/api/v4/projects/25805863/packages/maven")
}
}
```Then add the required dependency regarding your project
```kotlin
dependencies {// On MPP Project
implementation("io.ygdrasil:delaunator-kt:2023.09.22")
// On JS Project
implementation("io.ygdrasil:delaunator-kt-js:2023.09.22")
}
```