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
impl MaybeOriented for Position
fn maybe_oriented(&self) -> Option<Orientation>
Source§impl MaybePositioned for Position
impl MaybePositioned for Position
fn maybe_point(&self) -> Option<Point>
Source§impl Oriented for Position
impl Oriented for Position
Source§fn oriented(&self) -> Orientation
fn oriented(&self) -> Orientation
By default this is implemented by unwrapping the value of
MaybeOriented.
There is typically no need to change this.