Trait nalgebra::Orig [] [src]

pub trait Orig {
    fn orig() -> Self;
    fn is_orig(&self) -> bool;
}

The zero element of a vector space, seen as an element of its embeding affine space.

Required Methods

fn orig() -> Self

The trivial origin.

fn is_orig(&self) -> bool

Returns true if this points is exactly the trivial origin.

Implementors