[][src]Struct ncollide3d::query::ray_internal::Ray

pub struct Ray<N: Real> {
    pub origin: Point<N>,
    pub dir: Vector<N>,
}

A Ray.

Fields

Starting point of the ray.

Direction of the ray.

Methods

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

Creates a new ray starting from origin and with the direction dir. dir must be normalized.

Transforms this ray by the given isometry.

Transforms this ray by the inverse of the given isometry.

Translates this ray by the given vector. Its direction is left unchanged.

Trait Implementations

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

Performs copy-assignment from source. Read more

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

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

Auto Trait Implementations

impl<N> Send for Ray<N> where
    N: Scalar

impl<N> Sync for Ray<N> where
    N: Scalar

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T
[src]

Should always be Self