1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! Module contains query related structs.


mod inner_prelude {
    pub use alloc::vec::Vec;
    pub use crate::inner_prelude::*;
    pub use axgeom;    
    pub use axgeom::*;
    pub use compt;
    pub use compt::*;
    pub use core::marker::PhantomData;
    pub use itertools::Itertools;
    pub(crate) use crate::query::tools;
}


pub use crate::query::raycast::{Ray,RayIntersectResult,RayTrait,RayCastResult};
pub use crate::query::k_nearest::{Knearest,KnearestResult};
pub use crate::query::graphics::DividerDrawer;
#[cfg(feature = "nbody")]
pub use crate::query::nbody::NodeMassTrait;

#[cfg(feature = "analyze")]
pub use crate::query::colfind::{NotSortedQueryBuilder,QueryBuilder};



///aabb broadphase collision detection
pub(crate) mod colfind;

///Provides functionality to draw the dividers of a dinotree.
pub(crate) mod graphics;

///Contains all k_nearest code.
pub(crate) mod k_nearest;


///Contains all raycast code.
pub(crate) mod raycast;

///Allows user to intersect the tree with a seperate group of bots.
pub(crate) mod intersect_with;

///[EXPERIMENTAL] Contains all nbody code.
#[cfg(feature = "nbody")]
pub(crate) mod nbody;

///Contains rect code.
pub(crate) mod rect;

///Contains misc tools
pub(crate) mod tools;