pub struct Se<D: Dim> { /* private fields */ }Implementations§
Source§impl<D: Dim> Se<D>
impl<D: Dim> Se<D>
pub fn from_homogeneous(data: Vec<f64>, dim: D) -> Result<Self, GroupError>
pub fn from_parts( rotation: So<D>, translation: Vec<f64>, dim: D, ) -> Result<Self, GroupError>
pub fn identity(dim: D) -> Self
pub fn rotation(&self, dim: D) -> So<D>
pub fn translation(&self, dim: D) -> Vec<f64>
pub fn to_homogeneous(&self) -> Vec<f64>
pub fn n(&self) -> usize
Trait Implementations§
impl<D: Eq + Dim> Eq for Se<D>
impl<D: Dim> Semigroup for Se<D>
impl<D: PartialEq + Dim> StructuralPartialEq for Se<D>
impl<D: Dim> TopologicalGroup for Se<D>
Auto Trait Implementations§
impl<D> Freeze for Se<D>
impl<D> RefUnwindSafe for Se<D>where
D: RefUnwindSafe,
impl<D> Send for Se<D>where
D: Send,
impl<D> Sync for Se<D>where
D: Sync,
impl<D> Unpin for Se<D>where
D: Unpin,
impl<D> UnsafeUnpin for Se<D>
impl<D> UnwindSafe for Se<D>where
D: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more