12 releases (breaking)
new 0.10.0 | Oct 26, 2024 |
---|---|
0.9.0 | Aug 13, 2022 |
0.8.1 | May 23, 2022 |
0.7.0 | Jul 15, 2021 |
#252 in Algorithms
137 downloads per month
240KB
6.5K
SLoC
RGeometry
Computational Geometry in Rust!
What is RGeometry?
RGeometry is a collection of data types such as points, polygons, lines, and segments, and a variety of algorithms for manipulating them. This crate will be of use to you if you've ever wondered if a point is inside a polygon or if a bank is adequately covered by surveillance cameras.
Check out the API documentation for more details. Under each function, there is an interactive example (powered by rust->wasm).
MSRV
rust-1.59
Contribute
If you want to learn Rust or computational geometry or both, hit me up in discord and I'll (@lemmih) mentor you. There is a long list of algorithms (ranging from easy to difficult) yet to be implemented in Rust.
Resources:
- Website: https://rgeometry.org/
- Discord Chat: https://discord.gg/vZZmxwWjeZ
- API Documentation: https://docs.rs/rgeometry
Dependencies
~2–3MB
~63K SLoC