Trait IsSphereSearchable

Source
pub trait IsSphereSearchable<T> {
    // Required method
    fn in_sphere(&self, sphere: &Sphere, result: &mut Vec<T>);
}
Expand description

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§

Source

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

Should return all elements within a sphere

Implementors§

Source§

impl<P> IsSphereSearchable<P> for KdTree<P>
where P: Is3D + Clone,