pub trait Locatable { // Required method fn get_location(&self) -> [f32; 3]; }
Calculates the location of your object in a 3d space. Your data structure must implement this trait so Octree can can get location of each data point. A sample implementation is provided in Point3D.