#polygon #offset #boolean #polygon-clip #clip

sys clipper2-sys

Polygon Clipping and Offsetting (Clipper2 wrapper)

6 releases (breaking)

0.5.0 Feb 10, 2025
0.4.0 Jul 16, 2024
0.3.1 Jun 17, 2024
0.3.0 May 6, 2024
0.1.0 Apr 23, 2024

#1296 in Algorithms

ISC license

1MB
32K SLoC

C# 10K SLoC // 0.1% comments C++ 10K SLoC // 0.1% comments Pascal 10K SLoC // 0.1% comments Rust 2.5K SLoC // 0.0% comments Visual Studio Solution 456 SLoC Visual Studio Project 372 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