[src]

Struct ncollide2df64::bounding_volume::WithAABB

pub struct WithAABB<A>(M, A);

Wrapper which implements HasBoundingVolume<M, AABB> for objects implementing HasAABB.

Methods

impl<A> WithAABB<A>

fn m<'a>(&'a self) -> &'a M

The transformation matrix of this shape.

fn g<'a>(&'a self) -> &'a A

The local-space geometry of this shape.

Trait Implementations

impl<A: Clone> Clone for WithAABB<A>

Automatically derived.

fn clone(&self) -> WithAABB<A>

impl<A: Eq> Eq for WithAABB<A>

Automatically derived.

fn eq(&self, __arg_0: &WithAABB<A>) -> bool

fn ne(&self, __arg_0: &WithAABB<A>) -> bool

impl<A: DeepClone> DeepClone for WithAABB<A>

Automatically derived.

fn deep_clone(&self) -> WithAABB<A>

impl<A: HasAABB> HasBoundingVolume<AABB> for WithAABB<A>

fn bounding_volume(&self) -> AABB

The object bounding volume.