Struct parry3d::query::visitors::AABBSetsInterferencesCollector[][src]

pub struct AABBSetsInterferencesCollector<'a, T: 'a> {
    pub ls_m2: &'a Isometry<Real>,
    pub ls_m2_abs_rot: &'a Matrix<Real>,
    pub tolerence: Real,
    pub collector: &'a mut Vec<(T, T)>,
}

Spatial partitioning data structure visitor collecting interferences with a given bounding volume.

Fields

ls_m2: &'a Isometry<Real>

The transform from the local-space of the second bounding volumes to the local space of the first.

ls_m2_abs_rot: &'a Matrix<Real>

The absolute value of the rotation matrix representing ls_m2.rotation.

Equals to ls_m2.rotation.to_rotation.matrix().matrix().abs().

tolerence: Real

A tolerance applied to the interference tests.

AABB pairs closer than tolerance will be reported as intersecting.

collector: &'a mut Vec<(T, T)>

The data contained by the nodes with bounding volumes intersecting self.bv.

Implementations

impl<'a, T> AABBSetsInterferencesCollector<'a, T>[src]

pub fn new(
    tolerence: Real,
    ls_m2: &'a Isometry<Real>,
    ls_m2_abs_rot: &'a Matrix<Real>,
    collector: &'a mut Vec<(T, T)>
) -> AABBSetsInterferencesCollector<'a, T>
[src]

Creates a new AABBSetsInterferencesCollector.

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for AABBSetsInterferencesCollector<'a, T> where
    T: RefUnwindSafe

impl<'a, T> Send for AABBSetsInterferencesCollector<'a, T> where
    T: Send

impl<'a, T> Sync for AABBSetsInterferencesCollector<'a, T> where
    T: Sync

impl<'a, T> Unpin for AABBSetsInterferencesCollector<'a, T>

impl<'a, T> !UnwindSafe for AABBSetsInterferencesCollector<'a, T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,