Trait rust_3d::traits::IsSphereSearchable
[−]
[src]
pub trait IsSphereSearchable<PSearch, PFind> where
PSearch: Is3D,
PFind: Is3D, { fn in_sphere(&self, search: &PSearch, radius: f64) -> Vec<PFind>; }
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, search: &PSearch, radius: f64) -> Vec<PFind>
Should return all positions within a sphere around search