[][src]Module broccoli::query::knearest

Knearest query module

Structs

KResult

Returned by knearest.

KnearestResult

Returned by k_nearest_mut

Traits

Knearest

The geometric functions that the user must provide.

KnearestQuery

Knearest functions that can be called on a tree.

Functions

assert_k_nearest_mut

Panics if a disconnect is detected between tree and naive queries.

default_rect_knearest

Create a handler that treats each object as its aabb rectangle shape.

from_closure

Construct an object that implements Knearest from closures. We pass the tree so that we can infer the type of T.

naive_k_nearest_mut

Naive implementation