pub trait BHShape<T: BHValue, const D: usize>: Bounded<T, D> {
    // Required methods
    fn set_bh_node_index(&mut self, _: usize);
    fn bh_node_index(&self) -> usize;
}
Expand description

Describes a shape as referenced by a BoundingHierarchy leaf node. Knows the index of the node in the BoundingHierarchy it is in.

Required Methods§

source

fn set_bh_node_index(&mut self, _: usize)

Sets the index of the referenced BoundingHierarchy node.

source

fn bh_node_index(&self) -> usize

Gets the index of the referenced BoundingHierarchy node.

Implementations on Foreign Types§

source§

impl<T: BHValue, const D: usize, S: BHShape<T, D>> BHShape<T, D> for &mut S

source§

impl<T: BHValue, const D: usize, S: BHShape<T, D>> BHShape<T, D> for Box<S>

Implementors§