#polygon #boolean #offset #clip #clipper2

sys clipper2-sys

Polygon Clipping and Offsetting (Clipper2 wrapper)

5 releases (3 breaking)

0.4.0 Jul 16, 2024
0.3.1 Jun 17, 2024
0.3.0 May 6, 2024
0.2.0 Apr 25, 2024
0.1.0 Apr 23, 2024

#781 in Algorithms

ISC license

1MB
29K SLoC

C++ 10K SLoC // 0.1% comments Pascal 9K SLoC // 0.1% comments C# 8K SLoC // 0.1% comments Rust 2K SLoC // 0.0% comments Visual Studio Solution 439 SLoC Visual Studio Project 185 SLoC Bitbake 36 SLoC

clipper2-sys

Rust wrapper around C++ version of Clipper2.

Compile with cargo feature generate-bindings to generate bindings at build time.

This project was inspired from the clipper-sys crate that wraps the previous version 1 of the Clipper library.

And using clipper2c

Dependencies