Registry / utility / kd-tree

kd-tree

JSON →
library0.6.2rscratesunverified

k-dimensional tree for spatial indexing.

# Cargo.toml [dependencies] kd-tree = "0.6.2"
INSTALL
IMPORT
SIG · KD-TREE
K
kd-tree
utilityrustv0.6.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

KdTree
use kd_tree::KdTree;

Builds a kd-tree from a list of 2D points.

use kd_tree::KdTree; fn main() { let points = vec![[0.0, 0.0], [1.0, 1.0], [2.0, 2.0]]; let tree = KdTree::build_by_ordered_float(points); println!("Kd-tree built with {} points", tree.size()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
kd-tree — cargo add kd-tree · libregistry