Struct ncollide3d::partitioning::DBVTLeaf[][src]

pub struct DBVTLeaf<N: Real, B, BV> {
    pub bounding_volume: BV,
    pub center: Point<N>,
    pub data: B,
    // some fields omitted
}

Leaf of a Dynamic Bounding Volume Tree.

Fields

The bounding volume of this node.

The center of this node bounding volume.

An user-defined data.

Methods

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

Creates a new DBVT leaf from its bounding volume and contained data.

Returns true if this leaf is the root of the tree, or if it detached from any tree.

Trait Implementations

impl<N: Clone + Real, B: Clone, BV: Clone> Clone for DBVTLeaf<N, B, BV>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

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

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