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

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]

[src]

Creates a new BestRayInterferenceSearch.

Trait Implementations

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

User-defined data attached to each BVT leaf.

[src]

Computes the cost of a bounding volume.

[src]

Computes the cost of an object, and the result to be returned if it is the best one.

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