Crates.io | quadtree |
lib.rs | quadtree |
version | 0.3.5 |
source | src |
created_at | 2024-08-05 02:12:02.697043 |
updated_at | 2024-08-12 20:57:29.366655 |
description | A generic quadtree implementation |
homepage | |
repository | https://github.com/benbaarber/quadtree |
max_upload_size | |
id | 1325412 |
size | 52,430 |
This QuadTree library provides efficient spatial querying capabilities for 2D points. It supports various operations such as insertion, and rectangular and circular querying, making it suitable for applications in areas such as gaming, geographical information systems, and real-time simulations.
QuadTree<T>
works with any data type T
that implements the Point
and Clone
traits.Shape
trait (Rect
and Circle
are provided)."serde"
feature to serialize the QuadTree and provided shapes. A QuadTree<T>
will serialize into a sequence of items of type T
.