# clipper-java
**Repository Path**: AttackerGry/clipper-java
## Basic Information
- **Project Name**: clipper-java
- **Description**: 流线型的java的
适用于Java的的多边形剪辑器
Polygon Clipper是一个库,用于对任意2D多边形执行各种布尔运算(Union,Difference,XOR等),例如计算两个多边形重叠的区域。它带有两个Demo应用程序,一个用于控制台,另一个使用基于Swing的GUI的。
它是由Angus Johnson开发的Clipper项目的1:1 Java端口,它是Bala R. Vatti提出的算法的实现。我刚刚将代码转换为Java 8,基于他的C#Clipper版本6.4.2。如果您对文档感兴趣或对算法有疑问,请访问他的主页。但是,如果您发现错误或对Java的版本有疑问,请随时与我联系。
- **Primary Language**: Unknown
- **License**: BSL-1.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2018-11-06
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# clipper-java
A Polygon clipper for Java
Polygon Clipper is a library to execute various boolean operations (Union, Difference, XOR, etc.) on arbitrary 2D polygons, e.g. calculate the area in which two polygons overlap. It comes with two Demo applications, one for the console and one using a Swing based GUI.
It’s a 1:1 Java portation of the Clipper project developed by Angus Johnson, which as an implementation of the algorithm proposed by Bala R. Vatti. I just converted the code to Java 8, based on his C# Clipper version 6.4.2. If you’re interested in the documentation or have questions regarding the algorithm, please head over to his homepage. However, feel free to contact me if you found a bug or have a question regarding the Java version.