#polygon #boolean #clip #offset #clipper2

sys clipper2-sys

Polygon Clipping and Offsetting (Clipper2 wrapper)

6 releases (breaking)

new 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

#1241 in Algorithms

Download history 2/week @ 2024-10-30 2/week @ 2024-11-06 4/week @ 2024-11-27 67/week @ 2024-12-04 49/week @ 2024-12-11 12/week @ 2024-12-18 34/week @ 2025-01-01 34/week @ 2025-01-08 93/week @ 2025-02-05

97 downloads per month

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