Struct ncollide::partitioning::DBVTLeaf [] [src]

pub struct DBVTLeaf<P, B, BV> {
    pub bounding_volume: BV,
    pub center: P,
    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<P, B, BV> DBVTLeaf<P, B, BV> where
    BV: BoundingVolume<P>,
    P: Point
[src]

[src]

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

[src]

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

Trait Implementations

impl<P, B, BV> Clone for DBVTLeaf<P, B, BV> where
    B: Clone,
    BV: Clone,
    P: Clone
[src]

[src]