quadtree

Crates.ioquadtree
lib.rsquadtree
version0.3.5
sourcesrc
created_at2024-08-05 02:12:02.697043
updated_at2024-08-12 20:57:29.366655
descriptionA generic quadtree implementation
homepage
repositoryhttps://github.com/benbaarber/quadtree
max_upload_size
id1325412
size52,430
Ben Barber (benbaarber)

documentation

README

QuadTree

Current Crates.io Version Documentation

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.

Features

  • Generic Implementation: QuadTree<T> works with any data type T that implements the Point and Clone traits.
  • Spatial Queries: Supports querying within spatial regions that implement the Shape trait (Rect and Circle are provided).
  • Dynamic Operations: Efficiently perform mutating operations without full rebuilds.
    • insert
    • insert_many
    • delete
    • pop
  • Serde Serialization: Enable the "serde" feature to serialize the QuadTree and provided shapes. A QuadTree<T> will serialize into a sequence of items of type T.
Commit count: 0

cargo fmt