[][src]Struct ncollide3d::query::visitors::CompositePointContainmentTest

pub struct CompositePointContainmentTest<'a, N: 'a + Real, S: 'a + CompositeShape<N>> {
    pub shape: &'a S,
    pub point: &'a Point<N>,
    pub found: bool,
}

Visitor for checking if a composite shape contains a specific point.

Fields

shape: &'a S

The composite shape on which the point containment test should be performed.

point: &'a Point<N>

The point to be tested.

found: bool

A traversal will set this to true if the point is inside of self.shape.

Trait Implementations

impl<'a, N: Real, BV: BoundingVolume<N> + PointQuery<N>, S: CompositeShape<N>> Visitor<usize, BV> for CompositePointContainmentTest<'a, N, S>[src]

Auto Trait Implementations

impl<'a, N, S> Send for CompositePointContainmentTest<'a, N, S> where
    N: Scalar,
    S: Sync

impl<'a, N, S> Sync for CompositePointContainmentTest<'a, N, S> where
    N: Scalar,
    S: Sync

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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<T> Any for T where
    T: 'static + ?Sized
[src]

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

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

impl<T> Same for T

type Output = T

Should always be Self