#oct-tree #space #3d #algorithm #reference

octree

Octree algorithm for nearest neighbor search in 3D space

2 unstable releases

0.1.0 Mar 10, 2020
0.0.6 Feb 6, 2020

#2212 in Algorithms

Download history 17/week @ 2024-11-16 34/week @ 2024-11-23 83/week @ 2024-11-30 153/week @ 2024-12-07 61/week @ 2024-12-14 21/week @ 2024-12-21 21/week @ 2024-12-28 35/week @ 2025-01-04 26/week @ 2025-01-11 16/week @ 2025-01-18 5/week @ 2025-02-01 14/week @ 2025-02-08 22/week @ 2025-02-15 10/week @ 2025-02-22 9/week @ 2025-03-01

57 downloads per month
Used in 17 crates (via gchemol-neighbors)

MIT/Apache

1.5MB
545 lines

This is my first crate for learning Rust.

Performance

test data: examples/data/3wu2.xyz, coordinates of 51053 particles extracted from a PDB file 3wu2

img

How to to reproduce

rust-octree (v0.0.6):

RAYON_NUM_THREADS=1 cargo run --example demo --release

scipy-ckdtree(v1.3.2):

ipython> edit scripts/bench.py
ipython> %timeit -n 10 run_test()

Related crates

References

Footnotes

https://www.rcsb.org/structure/3wu2

Dependencies