77 Scalar aqu = au *
q.U() - ai *
q.I() - aj *
q.J() - ak *
q.K();
78 Scalar aqi = au *
q.I() + ai *
q.U() + aj *
q.K() - ak *
q.J();
79 Scalar aqj = au *
q.J() - ai *
q.K() + aj *
q.U() + ak *
q.I();
80 Scalar aqk = au *
q.K() + ai *
q.J() - aj *
q.I() + ak *
q.U();
87 aqj = -aqj, aqk = -aqk;
92 axis.SetCoordinates(0, 0, 1);
119 Scalar aqu = au * qu - ai * qi;
120 Scalar aqi = ai * qu + au * qi;
121 Scalar aqj = aj * qu + ak * qi;
122 Scalar aqk = ak * qu - aj * qi;
129 aqj = -aqj, aqk = -aqk;
159 Scalar aqu = au * qu - aj * qj;
160 Scalar aqi = ai * qu - ak * qj;
161 Scalar aqj = aj * qu + au * qj;
162 Scalar aqk = ak * qu + ai * qj;
169 aqj = -aqj, aqk = -aqk;
199 Scalar aqu = au * qu - ak * qk;
200 Scalar aqi = ai * qu + aj * qk;
201 Scalar aqj = aj * qu - ai * qk;
202 Scalar aqk = ak * qu + au * qk;
209 aqj = -aqj, aqk = -aqk;
AxisAngle class describing rotation represented with direction axis (3D Vector) and an angle of rotat...
AVector operator*(const AVector &v) const
Overload operator * for rotation on a vector.
AxisAngle()
Default constructor (axis is z and angle is zero).
Class describing a generic displacement vector in 3 dimensions.
Scalar X() const
Cartesian X, converting if necessary from internal coordinate system.
Scalar Y() const
Cartesian Y, converting if necessary from internal coordinate system.
Scalar Z() const
Cartesian Z, converting if necessary from internal coordinate system.
DisplacementVector3D< CoordSystem, Tag > & SetCoordinates(const Scalar src[])
Set internal data based on a C-style array of 3 Scalar numbers.
EulerAngles class describing rotation as three angles (Euler Angles).
Rotation class with the (3D) rotation represented by a unit quaternion (u, i, j, k).
Rotation class with the (3D) rotation represented by a 3x3 orthogonal matrix.
Rotation class representing a 3D rotation about the X axis by the angle of rotation.
Scalar SinAngle() const
Sine or Cosine of the rotation angle.
Rotation class representing a 3D rotation about the Y axis by the angle of rotation.
Scalar SinAngle() const
Sine or Cosine of the rotation angle.
Rotation class with the (3D) rotation represented by angles describing first a rotation of an angle p...
Rotation class representing a 3D rotation about the Z axis by the angle of rotation.
Scalar SinAngle() const
Sine or Cosine of the rotation angle.
Scalar math_cos(Scalar x)
Rotation3D::Scalar Scalar
Scalar math_sqrt(Scalar x)
Scalar math_asin(Scalar x)
AxisAngle operator*(RotationX const &r1, AxisAngle const &r2)
Multiplication of an axial rotation by an AxisAngle.
Scalar math_sin(Scalar x)