Struct ncollide3d::partitioning::DBVT[][src]

pub struct DBVT<N: Real, B, BV> { /* fields omitted */ }

A boundin volume hierarchy on which objects can be added or removed after construction.

Methods

impl<N: Real, B, BV: BoundingVolume<N>> DBVT<N, B, BV>
[src]

Creates a new empty dynamic bonding volume hierarchy.

Indicates whether this DBVT empty.

Inserts a leaf into this DBVT.

Removes a leaf from this DBVT.

Panics if the provided leaf is not attached to this DBVT.

Traverses this tree using an object implementing the BVTVisitortrait.

This will traverse the whole tree and call the visitor .visit_internal(...) (resp. .visit_leaf(...)) method on each internal (resp. leaf) node.

Trait Implementations

impl<N: Real, B, BV> Index<DBVTLeafId> for DBVT<N, B, BV>
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

Auto Trait Implementations

impl<N, B, BV> Send for DBVT<N, B, BV> where
    B: Send,
    BV: Send

impl<N, B, BV> Sync for DBVT<N, B, BV> where
    B: Sync,
    BV: Sync