[][src]Trait mazth::i_bound::IBound

pub trait IBound {
    fn get_type(&self) -> BoundType;
fn intersect(&self, other: &dyn IBound) -> bool;
fn get_shortest_separation(&self, other: &dyn IBound) -> f64;
fn get_bound_data(&self) -> [f64; 32];
fn get_union(&mut self, bounds: &[&dyn IBound]);
fn get_centroid(&self) -> [f64; 3]; }

Required methods

fn get_type(&self) -> BoundType

fn intersect(&self, other: &dyn IBound) -> bool

fn get_shortest_separation(&self, other: &dyn IBound) -> f64

fn get_bound_data(&self) -> [f64; 32]

fn get_union(&mut self, bounds: &[&dyn IBound])

fn get_centroid(&self) -> [f64; 3]

Loading content...

Implementors

impl IBound for AxisAlignedBBox[src]

impl IBound for BoundSphere[src]

Loading content...