Struct collision::dbvt::DiscreteVisitor [] [src]

pub struct DiscreteVisitor<'a, B: 'a, T> { /* fields omitted */ }

Visitor for doing discrete intersection testing on the DBVT.

Will return () for intersections with the Discrete implementation of bound.intersects(self.bound).

Methods

impl<'a, B: 'a, T> DiscreteVisitor<'a, B, T> where
    T: TreeValue,
    T::Bound: Discrete<B>, 
[src]

[src]

Create a new visitor that will do discrete intersection tests using the given bound.

Trait Implementations

impl<'a, B: Debug + 'a, T: Debug> Debug for DiscreteVisitor<'a, B, T>
[src]

[src]

Formats the value using the given formatter.

impl<'a, B: 'a, T> Visitor for DiscreteVisitor<'a, B, T> where
    T: TreeValue,
    T::Bound: Discrete<B>, 
[src]

Bounding volume accepted by the visitor

Result returned by the acceptance test

[src]

Acceptance test function