[][src]Struct ncollide3d::broad_phase::DBVTBroadPhase

pub struct DBVTBroadPhase<N: Real, BV, T> { /* fields omitted */ }

Broad phase based on a Dynamic Bounding Volume Tree.

It uses two separate trees: one for static objects and which is never updated, and one for moving objects.

Methods

impl<N, BV, T> DBVTBroadPhase<N, BV, T> where
    N: Real,
    BV: 'static + BoundingVolume<N> + Clone
[src]

pub fn new(margin: N) -> DBVTBroadPhase<N, BV, T>[src]

Creates a new broad phase based on a Dynamic Bounding Volume Tree.

pub fn num_interferences(&self) -> usize[src]

Number of interferences detected by this broad phase.

Trait Implementations

impl<N, BV, T> BroadPhase<N, BV, T> for DBVTBroadPhase<N, BV, T> where
    N: Real,
    BV: BoundingVolume<N> + RayCast<N> + PointQuery<N> + Any + Send + Sync + Clone,
    T: Any + Send + Sync
[src]

Auto Trait Implementations

impl<N, BV, T> Send for DBVTBroadPhase<N, BV, T> where
    BV: Send,
    N: Scalar,
    T: Send

impl<N, BV, T> Sync for DBVTBroadPhase<N, BV, T> where
    BV: Sync,
    N: Scalar,
    T: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> Same for T

type Output = T

Should always be Self