libatomprobe
Library for Atom Probe Tomography (APT) computation
Namespaces | Functions
quat.cpp File Reference
#include <gsl/gsl_blas.h>
#include <atomprobe/helper/maths/quat.h>
#include <atomprobe/helper/aptAssert.h>
Include dependency graph for quat.cpp:

Go to the source code of this file.

Namespaces

 AtomProbe
 

Functions

void AtomProbe::quat_mult_no_second_a (Quaternion *result, const Quaternion *q1, const Quaternion *q2)
 
void AtomProbe::quat_pointmult (Point3f *result, const Quaternion *q1, const Quaternion *q2)
 
void AtomProbe::quat_rot (Point3D &p, const Point3D &r, float angle)
 Rotate a point around a given rotation axis by a specified angle. More...
 
void AtomProbe::quat_rot (Point3f *point, const Point3f *rotVec, float angle)
 Rotate a point around a given vector, with specified angle. More...
 
void AtomProbe::quat_rot_array (Point3D *point, unsigned int n, const Point3f *rotVec, float angle)
 Rotate each point in array of size n around a given vector, with specified angle. More...
 
void AtomProbe::quat_rot_array (Point3f *point, unsigned int n, const Point3f *rotVec, float angle)
 Rotate each point in array of size n around a given vector, with specified angle. More...
 
void AtomProbe::quat_get_rot_quat (const Point3f *rotVec, float angle, Quaternion *rotQuat)
 Compute the quaternion for specified rotation. More...
 
void AtomProbe::quat_rot_apply_quat (Point3f *point, const Quaternion *rotQuat)
 Use previously generated quats from quat_get_rot_quats to rotate a point. More...
 
void AtomProbe::quat_invert (Quaternion *quat)