[−][src]Struct cam_geom::Ray
A single ray. Can be in any CoordinateSystem
.
A RayBundle
with only one ray can be converted to this with
RayBundle::to_single_ray()
.
Fields
center: MatrixMN<R, U1, U3>
The center (origin) of the ray.
direction: MatrixMN<R, U1, U3>
The direction of the ray.
Methods
impl<Coords, R: RealField> Ray<Coords, R>
[src]
pub fn new(center: MatrixMN<R, U1, U3>, direction: MatrixMN<R, U1, U3>) -> Self
[src]
Create a new ray from center (origin) and direction.
Auto Trait Implementations
impl<Coords, R> RefUnwindSafe for Ray<Coords, R> where
Coords: RefUnwindSafe,
R: RefUnwindSafe + Scalar,
Coords: RefUnwindSafe,
R: RefUnwindSafe + Scalar,
impl<Coords, R> Send for Ray<Coords, R> where
Coords: Send,
R: Scalar,
Coords: Send,
R: Scalar,
impl<Coords, R> Sync for Ray<Coords, R> where
Coords: Sync,
R: Scalar,
Coords: Sync,
R: Scalar,
impl<Coords, R> Unpin for Ray<Coords, R> where
Coords: Unpin,
R: Scalar + Unpin,
Coords: Unpin,
R: Scalar + Unpin,
impl<Coords, R> UnwindSafe for Ray<Coords, R> where
Coords: UnwindSafe,
R: Scalar + UnwindSafe,
Coords: UnwindSafe,
R: Scalar + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,