[src]

Struct ncollide2df64::partitioning::BoundingVolumeInterferencesCollector

pub struct BoundingVolumeInterferencesCollector<'a, B, BV> {
    // some fields omitted
}

Bounding Volume Tree visitor collecting interferences with a given bounding volume.

Methods

impl<'a, B, BV> BoundingVolumeInterferencesCollector<'a, B, BV>

fn new(bv: &'a BV, buffer: &'a mut ~[B]) -> BoundingVolumeInterferencesCollector<'a, B, BV>

Creates a new BoundingVolumeInterferencesCollector.

Trait Implementations

impl<'a, B: Clone, BV: BoundingVolume> BVTVisitor<B, BV> for BoundingVolumeInterferencesCollector<'a, B, BV>

fn visit_internal(&mut self, bv: &BV) -> bool

Visits an internal node. Returns true if the internal node children have to be visited too.

fn visit_leaf(&mut self, b: &B, bv: &BV)

Visits a leaf.

fn visit_internal_mut(&mut self, bv: &mut BV) -> bool

Visits an internal node. Returns true if the internal node children have to be visited too.

fn visit_leaf_mut(&mut self, b: &mut B, bv: &mut BV)

Visits a leaf.