Polygon and line clipping and offsetting library
Polygon Clipper is a library to generate various boolean operations (Union, Difference, XOR, etc.) on arbitrary 2D polygons, e.g. calculate the area in which two polygons overlap.
It’s a Kotlin portation of the Clipper project developed by Angus Johnson, which as an implementation of the algorithm proposed by Bala R. Vatti.
This port based on C# Clipper version 6.4.2.
Demo Applications that use this library
Original Angus Johnson project's documentation: http://www.angusj.com/delphi/clipper/documentation/
Example for Gradle:
repositories {
maven { url 'https://jitpack.io' }
}
compile 'com.github.alexej520:clipper-kotlin:1.0'
Feel free to contact me if you found a bug or have a question regarding the Kotlin version.