Pose

Type Alias Pose 

Source
pub type Pose = Pose2;
Expand description

The transformation matrix type (pose = rotation + translation).

Aliased Type§

pub struct Pose {
    pub rotation: Rot2,
    pub translation: Vec2,
}

Fields§

§rotation: Rot2

The rotational part of the pose.

§translation: Vec2

The translational part of the pose.

Trait Implementations§

Source§

impl PoseOps for Pose

Source§

fn absolute_transform_vector(&self, v: Vector) -> Vector

Transform a vector by the absolute value of the homogeneous matrix equivalent to self.