8 #error This class is not to be included by the user directly. Use AANGLE.h or AAnglef.h instead.
20 AANGLE(REAL x, REAL y, REAL z, REAL angle);
36 static REAL
safe_sqrt(REAL x) {
return (x < (REAL) 0.0 && x > -EPS) ? (REAL) 0.0 : std::sqrt(x); }
44 std::ostream& operator<<(std::ostream& out,
const AANGLE& a);
Quaternion class used for orientation.
Definition: Quat.h:21
AANGLE operator*(const AANGLE &a) const
Multiplies two axis-angle representations.
Definition: AAngle.cpp:174
AANGLE()
Default constructor.
Definition: AAngle.cpp:2
static REAL safe_sqrt(REAL x)
Does a "safe" square root - input values sufficiently close to -0 are returned as 0...
Definition: AAngle.h:36
Class for representation of orientation by an angle around an axis.
Definition: AAngle.h:15
AANGLE & set(const VECTOR3 &v, REAL angle)
Sets this object from a three-dimensional vector and a REAL value.
Definition: AAngle.cpp:59
AANGLE & operator=(const MATRIX3 &m)
Sets the object from a rotation matrix.
Definition: AAngle.cpp:235
A three-dimensional floating point vector used for representing points and vectors in 3D with associa...
Definition: Vector3.h:15
A three-dimensional floating point vector used for representing points and vectors in 3D and without ...
Definition: Origin3.h:16
AANGLE & operator*=(const AANGLE &a)
Multiplies this axis-angle representation by another and stores the result in this ...
Definition: AAngle.cpp:187
A 3x3 matrix that may be used for orientation, inertia tensors, etc.
Definition: Matrix3.h:20