VinaLC: Parallel Molecular Docking Program |
Biochemical and Biophysical Systems Group |
#include "quaternion.h"
Functions | |
bool | quaternion_is_normalized (const qt &q) |
bool | eq (const qt &a, const qt &b) |
qt | angle_to_quaternion (const vec &axis, fl angle) |
qt | angle_to_quaternion (const vec &rotation) |
vec | quaternion_to_angle (const qt &q) |
mat | quaternion_to_r3 (const qt &q) |
qt | random_orientation (rng &generator) |
void | quaternion_increment (qt &q, const vec &rotation) |
vec | quaternion_difference (const qt &b, const qt &a) |
void | print (const qt &q, std::ostream &out) |
bool quaternion_is_normalized | ( | const qt & | q | ) |
References eq(), and quaternion_norm_sqr().
Referenced by quaternion_difference(), quaternion_increment(), quaternion_normalize(), quaternion_normalize_approx(), quaternion_to_angle(), quaternion_to_r3(), and random_orientation().
References eq(), vec::norm(), and normalize_angle().
Referenced by angle_to_quaternion(), quaternion_increment(), segment::set_conf(), and first_segment::set_conf().
References angle_to_quaternion(), epsilon_fl, vec::norm(), and qt_identity().
References epsilon_fl, pi, quaternion_is_normalized(), and zero_vec().
Referenced by print(), and quaternion_difference().
References eq(), and quaternion_is_normalized().
Referenced by rigid_conf::apply(), and frame::set_orientation().
References epsilon_fl, quaternion_is_normalized(), random_normal(), and random_orientation().
Referenced by random_orientation(), and rigid_conf::randomize().
References angle_to_quaternion(), quaternion_is_normalized(), and quaternion_normalize_approx().
Referenced by rigid_conf::increment(), mutate_conf(), and rigid_conf::mutate_orientation().
References quaternion_is_normalized(), and quaternion_to_angle().
Referenced by rigid_conf::too_close().
void print | ( | const qt & | q, |
std::ostream & | out | ||
) |