Skip to content

A collection of space partitioning trees for Rust πŸ¦€

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

habedi/spart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Space Partitioning Trees for Rust

Tests Code Coverage CodeFactor Crates.io Docs.rs Downloads Docs License

Spart (s[pace] par[titioning] t[rees] is a Rust library that provides implementations of various space partitioning tree data structures for efficient indexing and searching 2D and 3D point data.

Currently, the following trees are implemented:

Index Tree Type 2D 3D kNN search Range search
1 Quadtree βœ“ βœ“ βœ“
2 Octree βœ“ βœ“ βœ“
3 Kd-tree βœ“ βœ“ βœ“ βœ“
4 R-tree βœ“ βœ“ βœ“ βœ“
5 BSP-tree βœ“ βœ“ βœ“ βœ“

Installation

cargo add spart

Documentation

The documentation for the latest release can be found here.

Additionally, check out the tests directory for detailed examples for how to use the library.

Contributing

See CONTRIBUTING.md for details on how to make a contribution.

License

Spart is available under the terms of either of the following licenses: