Position

Type Alias Position 

Source
pub type Position = Isometry2<f64>;

Aliased Type§

#[repr(C)]
pub struct Position { pub rotation: Unit<Complex<f64>>, pub translation: Translation<f64, 2>, }

Fields§

§rotation: Unit<Complex<f64>>

The pure rotational part of this isometry.

§translation: Translation<f64, 2>

The pure translational part of this isometry.

Trait Implementations§

Source§

impl MaybeOriented for Position

Source§

impl MaybePositioned for Position

Source§

impl Oriented for Position

Source§

fn oriented(&self) -> Orientation

By default this is implemented by unwrapping the value of MaybeOriented. There is typically no need to change this.
Source§

impl Positioned for Position

Source§

fn point(&self) -> Point