Struct ncollide_geometry::query::PointProjection
[−]
[src]
pub struct PointProjection<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: Point> PointProjection<P>
[src]
pub fn new(is_inside: bool, point: P) -> PointProjection<P>
[src]
Initializes a new PointProjection
.
Trait Implementations
impl<P: Copy + Point> Copy for PointProjection<P>
[src]
impl<P: Clone + Point> Clone for PointProjection<P>
[src]
fn clone(&self) -> PointProjection<P>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more