18 #ifndef ATOMPROBE_MATHFUNCS_H 19 #define ATOMPROBE_MATHFUNCS_H 27 #include <gsl/gsl_matrix.h> 100 bool testMathfuncs();
void quat_get_rot_quat(const Point3f *rotVec, float angle, Quaternion *rotQuat)
Compute the quaternion for specified rotation.
void quat_rot_apply_quat(Point3f *point, const Quaternion *rotQuat)
Use previously generated quats from quat_get_rot_quats to rotate a point.
A 3D point data class storage.
Data storage structure for points.
Data storage structure for quaternions.
void quat_rot(Point3D &p, const Point3D &r, float angle)
Rotate a point around a given rotation axis by a specified angle.
void 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. ...