pub type ManagedOctree<D, S> = Octree<ManagedOctreeData<D, S>>;Aliased Type§
pub struct ManagedOctree<D, S> { /* private fields */ }Implementations§
Source§impl<D, S, T> ManagedOctree<D, S>
impl<D, S, T> ManagedOctree<D, S>
pub fn new_managed(centre: (S, S, S), half_length: S) -> Self
Sourcepub fn with_max_size(self, max_size: usize) -> Self
pub fn with_max_size(self, max_size: usize) -> Self
Set max_size
Sourcepub fn with_drop_below_size(self, drop_below_size: usize) -> Self
pub fn with_drop_below_size(self, drop_below_size: usize) -> Self
Set drop_below_size
Panics when set to 0
Sourcepub fn clear_data(&mut self)
pub fn clear_data(&mut self)
Clears data from the node (not the whole tree)