Struct ncollide3d::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
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]
pub fn new(is_inside: bool, point: Point<N>) -> 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]
fn clone(&self) -> PointProjection<N>
[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