Struct ncollide::query::RayInterferencesCollector
[−]
[src]
pub struct RayInterferencesCollector<'a, P, B> where
B: 'a,
P: 'a + Point, { /* fields omitted */ }
Bounding Volume Tree visitor collecting interferences with a given ray.
Methods
impl<'a, P, B> RayInterferencesCollector<'a, P, B> where
P: Point,
[src]
P: Point,
fn new(
ray: &'a Ray<P>,
buffer: &'a mut Vec<B>
) -> RayInterferencesCollector<'a, P, B>
ray: &'a Ray<P>,
buffer: &'a mut Vec<B>
) -> RayInterferencesCollector<'a, P, B>
Creates a new RayInterferencesCollector
.
Trait Implementations
impl<'a, P, B, BV> BVTVisitor<B, BV> for RayInterferencesCollector<'a, P, B> where
B: Clone,
BV: RayCast<P, Id<Multiplicative>>,
P: Point,
[src]
B: Clone,
BV: RayCast<P, Id<Multiplicative>>,
P: Point,
fn visit_internal(&mut self, bv: &BV) -> bool
Visits an internal node. Returns true
if the internal node children have to be visited too. Read more
fn visit_leaf(&mut self, b: &B, bv: &BV)
Visits a leaf.