pub struct DomainRay<S: Space> {
pub origin: S::Point,
pub direction: S::Vector,
}Expand description
direction has unit metric length, so exp(origin, direction * t) lies at distance t.
Fields§
§origin: S::Point§direction: S::VectorAuto Trait Implementations§
impl<S> Freeze for DomainRay<S>
impl<S> RefUnwindSafe for DomainRay<S>
impl<S> Send for DomainRay<S>
impl<S> Sync for DomainRay<S>
impl<S> Unpin for DomainRay<S>
impl<S> UnsafeUnpin for DomainRay<S>
impl<S> UnwindSafe for DomainRay<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more