Trait ncollide::query::point_internal::PointQuery [] [src]

pub trait PointQuery<P, M> where
    P: Point
{ fn project_point(&self, m: &M, pt: &P, solid: bool) -> PointProjection<P>; fn distance_to_point(
        &self,
        m: &M,
        pt: &P,
        solid: bool
    ) -> <P as EuclideanSpace>::Real { ... }
fn contains_point(&self, m: &M, pt: &P) -> bool { ... } }

Trait of objects that can be tested for point inclusion and projection.

Required Methods

Projects a point on self transformed by m.

Provided Methods

Computes the minimal distance between a point and self transformed by m.

Tests if the given point is inside of self transformed by m.

Implementors