Function cif::construct_for_dihedral_angle

Function Documentation

quaternion cif::construct_for_dihedral_angle(point p1, point p2, point p3, point p4, float angle, float esd)

Given four points and an angle, return the quaternion required to rotate point p4 along the p2-p3 axis and around point p3 to obtain the required within an accuracy of esd.