3D KD-Tree (Rust Implementation)
This directory contains the unified Rust implementation of a 3D KD-Tree, parameterized using Rust Generics and Traits to support i32, i64, and i128 coordinate widths dynamically.
Compilation & Usage
You do not need any build-time feature flags to choose between 32-bit, 64-bit, and 128-bit coordinate widths. The Tree struct uses a generic type parameter bounded by a custom Coord trait. Function names remain clean and idiomatic, without any bit-size suffixes.
use ;
Testing
Run the test suite using standard cargo commands: