[][src]Struct ncollide_geometry::query::ray_internal::RayIntersectionCostFn

pub struct RayIntersectionCostFn<'a, P: 'a + Point> { /* fields omitted */ }

A search thet selects the objects that has the smallest time of impact with a given ray.

Methods

impl<'a, P: Point> RayIntersectionCostFn<'a, P>[src]

pub fn new(
    ray: &'a Ray<P>,
    solid: bool,
    uvs: bool
) -> RayIntersectionCostFn<'a, P>
[src]

Creates a new BestRayInterferenceSearch.

Trait Implementations

impl<'a, P, B, BV> BVTCostFn<<P as EuclideanSpace>::Real, B, BV> for RayIntersectionCostFn<'a, P> where
    P: Point,
    B: RayCast<P, Id>,
    BV: RayCast<P, Id>, 
[src]

type UserData = RayIntersection<P::Vector>

User-defined data attached to each BVT leaf.

Auto Trait Implementations

impl<'a, P> Send for RayIntersectionCostFn<'a, P> where
    <P as Point>::Vector: Sync

impl<'a, P> Sync for RayIntersectionCostFn<'a, P> where
    <P as Point>::Vector: 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> Any for T where
    T: 'static + ?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<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T

type Output = T

Should always be Self