CFx SDK Documentation
2020SP3
|
#include <GeQuaternion.h>
Public Member Functions | |
OdGeQuaternion () | |
OdGeQuaternion (double ww, double xx, double yy, double zz) | |
OdGeQuaternion & | set (double ww, double xx, double yy, double zz) |
OdGeQuaternion & | set (const OdGeMatrix3d &matrix) |
OdGeMatrix3d | getMatrix () const |
OdGePoint3d | rotate (OdGePoint3d &sourcePoint) const |
OdGeVector3d | rotate (OdGeVector3d &vector) const |
bool | isEqualTo (const OdGeQuaternion &quat, const OdGeTol &tol=OdGeContext::gTol) const |
bool | operator== (const OdGeQuaternion &quat) const |
bool | operator!= (const OdGeQuaternion &quat) const |
Public Attributes | |
double | w |
double | x |
double | y |
double | z |
Static Public Attributes | |
static GE_STATIC_EXPORT const OdGeQuaternion | kOrigin |
This class represents a rotation quaternion in 3D space.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 45 of file GeQuaternion.h.
|
inline |
Quaternions are used to specify the rotations necessary for 3d planar orientation. It stores 4 Double variables w, x, y, and z.
Definition at line 57 of file GeQuaternion.h.
|
inline |
Definition at line 61 of file GeQuaternion.h.
|
inline |
Definition at line 113 of file GeQuaternion.h.
|
inline |
Returns true if and only if quat is identical to this quaternion, within the specified tolerance.
quat | [in] Any quaternion. |
tol | [in] Geometric tolerance. |
Definition at line 153 of file GeQuaternion.h.
|
inline |
Definition at line 167 of file GeQuaternion.h.
|
inline |
Definition at line 163 of file GeQuaternion.h.
|
inline |
Definition at line 132 of file GeQuaternion.h.
|
inline |
Definition at line 139 of file GeQuaternion.h.
|
inline |
Definition at line 75 of file GeQuaternion.h.
|
inline |
Definition at line 66 of file GeQuaternion.h.
|
static |
Definition at line 177 of file GeQuaternion.h.
double OdGeQuaternion::w |
Definition at line 172 of file GeQuaternion.h.
double OdGeQuaternion::x |
Definition at line 173 of file GeQuaternion.h.
double OdGeQuaternion::y |
Definition at line 174 of file GeQuaternion.h.
double OdGeQuaternion::z |
Definition at line 175 of file GeQuaternion.h.