[][src]Module dinotree_alg::query

Module contains query related structs.

Structs

KnearestResult

Returned by k_nearest_mut

MultiRectMut

If we have two non intersecting rectangles, it is safe to return to the user two sets of mutable references of the bots strictly inside each rectangle since it is impossible for a bot to belong to both sets.

RectIntersectErr

Indicates that the user supplied a rectangle that intersects with a another one previously queries in the session.

Traits

DividerDrawer

Trait user must implement.

Knearest

The geometric functions that the user must provide.

RayCast

This is the trait that defines raycast specific geometric functions that are needed by this raytracing algorithm. By containing all these functions in this trait, we can keep the trait bounds of the underlying Num to a minimum of only needing Ord.

Type Definitions

RayCastResult