Trait parry3d::utils::IsometryOpt
source · pub trait IsometryOpt {
// Required methods
fn inv_mul(self, rhs: &Isometry<Real>) -> Isometry<Real>;
fn prepend_to(self, rhs: &Isometry<Real>) -> Isometry<Real>;
fn transform_point(self, p: &Point<Real>) -> Point<Real>;
fn transform_vector(self, v: &Vector<Real>) -> Vector<Real>;
fn transform_unit_vector(self, v: &Unit<Vector<Real>>) -> Unit<Vector<Real>>;
fn inverse_transform_point(self, p: &Point<Real>) -> Point<Real>;
fn inverse_transform_vector(self, v: &Vector<Real>) -> Vector<Real>;
fn inverse_transform_unit_vector(
self,
v: &Unit<Vector<Real>>
) -> Unit<Vector<Real>>;
}
Expand description
Various operations usable with Option<Isometry>
and Option<&Isometry>
where None
is assumed to be equivalent to the identity.
Required Methods§
sourcefn transform_unit_vector(self, v: &Unit<Vector<Real>>) -> Unit<Vector<Real>>
fn transform_unit_vector(self, v: &Unit<Vector<Real>>) -> Unit<Vector<Real>>
Computes self * v
.