type UnitQuaternionBase<N, S> = Unit<QuaternionBase<N, S>>;
A unit quaternions. May be used to represent a rotation.
Due to a bug in rustdoc, the documentation
below has been written manually lists only method signatures.
Trait implementations are not listed either.
Please refer directly to the documentation written above each function definition on the source
code for more details.
Methods
fn angle(&self) -> N
fn angle_to(&self, other: &UnitQuaternionBase) -> N
fn axis(&self) -> Option<Unit<OwnedColumnVector>>
fn clone_owned(&self) -> OwnedUnitQuaternionBase
fn conjugate(&self) -> OwnedUnitQuaternionBase
fn exp(&self) -> OwnedQuaternionBase
fn from_axis_angle(axis: &Unit<ColumnVector>, angle: N) -> Self
fn from_euler_angles(roll: N, pitch: N, yaw: N) -> Self
fn from_scaled_axis(axisangle: ColumnVector) -> Self
fn into_owned(self) -> OwnedUnitQuaternionBase
fn inverse(&self) -> OwnedUnitQuaternionBase
fn lerp(&self, other: &UnitQuaternionBase, t: N) -> OwnedQuaternionBase
fn ln(&self) -> OwnedQuaternionBase
fn look_at_lh(dir: &ColumnVector, up: &ColumnVector) -> Self
fn look_at_rh(dir: &ColumnVector, up: &ColumnVector) -> Self
fn new(axisangle: ColumnVector) -> Self
fn new_observer_frame(dir: &ColumnVector, up: &ColumnVector) -> Self
fn nlerp(&self, other: &UnitQuaternionBase, t: N) -> OwnedUnitQuaternionBase
fn powf(&self, n: N) -> OwnedUnitQuaternionBase
fn quaternion(&self) -> &QuaternionBase
fn rotation_between(a: &ColumnVector, b: &ColumnVector) -> Option<Self>
fn rotation_to(&self, other: &UnitQuaternionBase) -> OwnedUnitQuaternionBase
fn scaled_axis(&self) -> OwnedColumnVector
fn scaled_rotation_between(a: &ColumnVector, b: &ColumnVector, s: N) -> Option<Self>
fn slerp(&self, other: &UnitQuaternionBase, t: N) -> OwnedUnitQuaternionBase
fn to_homogeneous(&self) -> OwnedSquareMatrix
fn try_slerp(&self, other: &UnitQuaternionBase, t: N, epsilon: N) -> Option<OwnedUnitQuaternionBase>