Struct ncollide2d::query::PointProjection[][src]

pub struct PointProjection<N: Real> {
    pub is_inside: bool,
    pub point: Point<N>,
}

Description of the projection of a point on a shape.

Fields

Whether or not the point to project was inside of the shape.

The projection result.

Methods

impl<N: Real> PointProjection<N>
[src]

Initializes a new PointProjection.

Trait Implementations

impl<N: Copy + Real> Copy for PointProjection<N>
[src]

impl<N: Clone + Real> Clone for PointProjection<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Debug + Real> Debug for PointProjection<N>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<N> Send for PointProjection<N>

impl<N> Sync for PointProjection<N>