#polygon #boolean #clip #offset #clipper2

sys clipper2-sys

Polygon Clipping and Offsetting (Clipper2 wrapper)

3 releases (breaking)

new 0.3.0 May 6, 2024
0.2.0 Apr 25, 2024
0.1.0 Apr 23, 2024

#818 in Algorithms

Download history 199/week @ 2024-04-19 61/week @ 2024-04-26 143/week @ 2024-05-03

403 downloads per month

ISC license

3.5MB
71K SLoC

C++ 47K SLoC // 0.2% comments Pascal 9K SLoC // 0.1% comments C# 8K SLoC // 0.1% comments Python 3.5K SLoC // 0.4% comments Rust 2K SLoC // 0.0% comments Bazel 762 SLoC // 0.1% comments Visual Studio Solution 439 SLoC Visual Studio Project 185 SLoC Shell 121 SLoC // 0.4% comments 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