[][src]Trait generic_octree::Subdivisable

pub trait Subdivisable: Copy + Debug {
    type CenterType;
    fn get_center(&self) -> Self::CenterType;
fn where_to_place(&self, rhs: &Self) -> u8;
fn fit_in(&self, rhs: &Self) -> bool;
fn divide(self, rhs: &Self) -> Vec<Self>; }

A Trait that can be implemented on a struct to allow it to be inside a Node.

Associated Types

Loading content...

Required methods

fn get_center(&self) -> Self::CenterType

fn where_to_place(&self, rhs: &Self) -> u8

fn fit_in(&self, rhs: &Self) -> bool

fn divide(self, rhs: &Self) -> Vec<Self>

Loading content...

Implementors

Loading content...