|
| GfQuatd () |
| Default constructor leaves the quaternion undefined.
|
|
| GfQuatd (double realVal) |
| Initialize the real coefficient to realVal and the imaginary coefficients to zero.
|
|
| GfQuatd (double real, double i, double j, double k) |
| Initialize the real and imaginary coefficients.
|
|
| GfQuatd (double real, const GfVec3d &imaginary) |
| Initialize the real and imaginary coefficients.
|
|
GF_API | GfQuatd (class GfQuatf const &other) |
| Implicitly convert from GfQuatf.
|
|
GF_API | GfQuatd (class GfQuath const &other) |
| Implicitly convert from GfQuath.
|
|
double | GetReal () const |
| Return the real coefficient.
|
|
void | SetReal (double real) |
| Set the real coefficient.
|
|
const GfVec3d & | GetImaginary () const |
| Return the imaginary coefficient.
|
|
void | SetImaginary (const GfVec3d &imaginary) |
| Set the imaginary coefficients.
|
|
void | SetImaginary (double i, double j, double k) |
| Set the imaginary coefficients.
|
|
double | GetLength () const |
| Return geometric length of this quaternion.
|
|
GfQuatd | GetNormalized (double eps=GF_MIN_VECTOR_LENGTH) const |
| length of this quaternion is smaller than eps , return the identity quaternion.
|
|
GF_API double | Normalize (double eps=GF_MIN_VECTOR_LENGTH) |
| Normalizes this quaternion in place to unit length, returning the length before normalization.
|
|
GfQuatd | GetConjugate () const |
| Return this quaternion's conjugate, which is the quaternion with the same real coefficient and negated imaginary coefficients.
|
|
GfQuatd | GetInverse () const |
| Return this quaternion's inverse, or reciprocal.
|
|
GF_API GfVec3d | Transform (const GfVec3d &point) const |
| Transform the GfVec3d point.
|
|
GfQuatd | operator- () const |
| Component-wise negation.
|
|
bool | operator== (const GfQuatd &q) const |
| Component-wise quaternion equality test.
|
|
bool | operator!= (const GfQuatd &q) const |
| Component-wise quaternion inequality test.
|
|
GF_API GfQuatd & | operator*= (const GfQuatd &q) |
| Post-multiply quaternion q into this quaternion.
|
|
GfQuatd & | operator*= (double s) |
| Multiply this quaternion's coefficients by s .
|
|
GfQuatd & | operator/= (double s) |
| Divide this quaternion's coefficients by s .
|
|
GfQuatd & | operator+= (const GfQuatd &q) |
| Add quaternion q to this quaternion.
|
|
GfQuatd & | operator-= (const GfQuatd &q) |
| Component-wise unary difference operator.
|
|