Struct ncollide2d::query::PointProjection [−][src]
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: Point<N>
The projection result.
Methods
impl<N: Real> PointProjection<N>
[src]
impl<N: Real> PointProjection<N>
pub fn new(is_inside: bool, point: Point<N>) -> PointProjection<N>
[src]
pub fn new(is_inside: bool, point: Point<N>) -> PointProjection<N>
Initializes a new PointProjection
.
Trait Implementations
impl<N: Copy + Real> Copy for PointProjection<N>
[src]
impl<N: Copy + Real> Copy for PointProjection<N>
impl<N: Clone + Real> Clone for PointProjection<N>
[src]
impl<N: Clone + Real> Clone for PointProjection<N>
fn clone(&self) -> PointProjection<N>
[src]
fn clone(&self) -> PointProjection<N>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<N: Debug + Real> Debug for PointProjection<N>
[src]
impl<N: Debug + Real> Debug for PointProjection<N>
Auto Trait Implementations
impl<N> Send for PointProjection<N>
impl<N> Send for PointProjection<N>
impl<N> Sync for PointProjection<N>
impl<N> Sync for PointProjection<N>