A polygon Clipping and Offsetting library for Rust.
The create is a Rust wrapper around the 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 with some minor differences. The intent of this crate is similar, to build the Clipper(2) library automatically, but ALSO directly expose SAFE types and functions to work with directly in Rust where clipper-sys is more targeted towards use through the geo-clipper crate.
This project is in a super early stage and has for now only opened up a small part of what the C++ Clipper2 library has to offer. Expect breaking changes now and then for some more time to come as we find more eregonomic ways of ecposing the API.
Please also feel free to come with suggestions on how the API can be simplified or send code contributions directly. See CONTRIBUTING.md for more details.
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Serde by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.