Struct rust_3d::kd_tree::KdTree [] [src]

pub struct KdTree<P> where
    P: Is3D
{ pub root: Option<KdNode<P>>, }

KdTree

Fields

Trait Implementations

impl<P: Default> Default for KdTree<P> where
    P: Is3D
[src]

Returns the "default value" for a type. Read more

impl<P> IsTree3D<P> for KdTree<P> where
    P: IsBuildableND + IsBuildable3D + Clone + Default
[src]

Should return the number of elements within the tree

Should return all positions within the tree as point cloud

Should create a new tree from a given point cloud

impl<P> IsKdTree3D<P> for KdTree<P> where
    P: IsEditable3D + IsBuildableND + IsBuildable3D + Clone + Default
[src]

Should return the k nearest neighbours to search

Should return all positions within a sphere around search

Should return all positions within a box around search

Should return the nearest neighbour to search, if there is any