Trait rhusics_core::Pose [−][src]
pub trait Pose<P, R>: Transform<P> where
P: EuclideanSpace, { fn new(position: P, rotation: R) -> Self; fn set_rotation(&mut self, rotation: R); fn set_position(&mut self, position: P); fn rotation(&self) -> R; fn position(&self) -> P; }
Pose abstraction
Required Methods
fn new(position: P, rotation: R) -> Self
New pose
fn set_rotation(&mut self, rotation: R)
Set rotation
fn set_position(&mut self, position: P)
Set position
fn rotation(&self) -> R
Read rotation
fn position(&self) -> P
Read position
Implementations on Foreign Types
impl<P, R> Pose<P, R> for Decomposed<<P as EuclideanSpace>::Diff, R> where
P: EuclideanSpace,
R: Rotation<P>,
<P as EuclideanSpace>::Scalar: BaseFloat,
[src]
impl<P, R> Pose<P, R> for Decomposed<<P as EuclideanSpace>::Diff, R> where
P: EuclideanSpace,
R: Rotation<P>,
<P as EuclideanSpace>::Scalar: BaseFloat,
fn new(position: P, rotation: R) -> Decomposed<<P as EuclideanSpace>::Diff, R>
[src]
fn new(position: P, rotation: R) -> Decomposed<<P as EuclideanSpace>::Diff, R>
fn set_rotation(&mut self, rotation: R)
[src]
fn set_rotation(&mut self, rotation: R)
fn set_position(&mut self, position: P)
[src]
fn set_position(&mut self, position: P)
fn rotation(&self) -> R
[src]
fn rotation(&self) -> R
fn position(&self) -> P
[src]
fn position(&self) -> P
Implementors
impl<P, R> Pose<P, R> for BodyPose<P, R> where
P: EuclideanSpace,
P::Scalar: BaseFloat,
R: Rotation<P>,