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

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]

[src]

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

[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]

[src]

Updates the object additions, removals, and interferences detection.

[src]

Tells the broad phase to add a bounding-volume at the next update.

[src]

Tells the broad phase to remove the given set of handles.

[src]

Sets the next bounding volume to be used during the update of this broad phase.

[src]

Forces the broad-phase to recompute and re-report all the proximities with the given object.

[src]

Forces the broad-phase to recompute and re-report all the proximities.

[src]

Collects every object which might intersect a given bounding volume.

[src]

Collects every object which might intersect a given ray.

[src]

Collects every object which might contain a given point.

Auto Trait Implementations

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

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