[][src]Trait rust_3d::IsSphereSearchable

pub trait IsSphereSearchable<T> {
    fn in_sphere(&self, sphere: &Sphere, result: &mut Vec<T>);
}

IsSphereSearchable trait used for search structures which can be queried for elements within a sphere You should only implement this, if your solution is rather efficient

Required methods

fn in_sphere(&self, sphere: &Sphere, result: &mut Vec<T>)

Should return all elements within a sphere

Loading content...

Implementors

impl<P> IsSphereSearchable<P> for KdTree<P> where
    P: Is3D + Clone
[src]

Loading content...