pub trait PoseOpt {
// Required methods
fn inv_mul(self, rhs: &Pose) -> Pose;
fn prepend_to(self, rhs: &Pose) -> Pose;
fn transform_point(self, p: Vector) -> Vector;
fn inverse_transform_point(self, p: Vector) -> Vector;
}Expand description
Various operations usable with Option<Pose> and Option<&Pose>
where None is assumed to be equivalent to the identity.
Required Methods§
Sourcefn prepend_to(self, rhs: &Pose) -> Pose
fn prepend_to(self, rhs: &Pose) -> Pose
Computes rhs * self.
Sourcefn transform_point(self, p: Vector) -> Vector
fn transform_point(self, p: Vector) -> Vector
Computes self * p.
Sourcefn inverse_transform_point(self, p: Vector) -> Vector
fn inverse_transform_point(self, p: Vector) -> Vector
Computes self.inverse() * p.