Module float

Source
Expand description

Floating point k-d tree, for use when the co-ordinates of the points being stored in the tree are floats. f64 or f32 are the types that are supported for use as co-ordinates, or f16 when used with the half crate

NB if you don’t need to be able to add or remove items from the tree after construction / deserialization, you may get better performance from immutable::float::kdtree::ImmutableKdTree

Modules§

distance
Contains a selection of distance metrics that can be chosen from to measure the distance between two points stored inside the tree.
kdtree
Floating point k-d tree, for use when the co-ordinates of the points being stored in the tree are floats. f64 or f32 are supported currently, or f16 if used with the half crate.