Q3Point3D_TransformQuaternion
You can use theQ3Point3D_TransformQuaternionfunction to transform a point by a quaternion.
TQ3Point3D *Q3Point3D_TransformQuaternion ( const TQ3Point3D *point, const TQ3Quaternion *quaternion, TQ3Point3D *result);
point- A three-dimensional point.
quaternion- A quaternion.
result- On exit, a three-dimensional point that is the result of transforming the specified point by the specified quaternion.
DESCRIPTION
TheQ3Point3D_TransformQuaternionfunction returns, as its function result and in theresultparameter, a three-dimensional point that is the result of transforming the point specified by thepointparameter using the quaternion specified by thequaternionparameter.