Struct ncollide::query::PointProjection
[−]
[src]
pub struct PointProjection<P> where
P: Point, { pub is_inside: bool, pub point: P, }
Description of the projection of a point on a shape.
Fields
is_inside: bool
Whether or not the point to project was inside of the shape.
point: P
The projection result.
Methods
impl<P> PointProjection<P> where
P: Point,
[src]
P: Point,
fn new(is_inside: bool, point: P) -> PointProjection<P>
[src]
Initializes a new PointProjection
.
Trait Implementations
impl<P> Copy for PointProjection<P> where
P: Copy + Point,
[src]
P: Copy + Point,
impl<P> Clone for PointProjection<P> where
P: Clone + Point,
[src]
P: Clone + Point,
fn clone(&self) -> PointProjection<P>
[src]
impl<P> Debug for PointProjection<P> where
P: Debug + Point,
[src]
P: Debug + Point,