Lines Matching refs:angle_axis
293 double angle_axis[3];
301 QuaternionToAngleAxis(quaternion, angle_axis);
302 const double angle = sqrt(angle_axis[0] * angle_axis[0] +
303 angle_axis[1] * angle_axis[1] +
304 angle_axis[2] * angle_axis[2]);
887 double angle_axis[3];
898 angle_axis[k] = 2.0 * RandDouble() - 1.0;
900 norm2 = angle_axis[k] * angle_axis[k];
905 angle_axis[k] *= inv_norm;
908 AngleAxisToRotationMatrix(angle_axis, R);
913 AngleAxisRotatePoint(angle_axis, p, angle_axis_rotated_p);
920 << " angle_axis: " << angle_axis[0]
921 << " " << angle_axis[1]
922 << " " << angle_axis[2];
929 double angle_axis[3];
938 angle_axis[k] = 2.0 * RandDouble() - 1.0;
940 norm2 = angle_axis[k] * angle_axis[k];
946 angle_axis[k] *= inv_norm;
949 AngleAxisToRotationMatrix(angle_axis, R);
954 AngleAxisRotatePoint(angle_axis, p, angle_axis_rotated_p);
961 << " angle_axis: " << angle_axis[0]
962 << " " << angle_axis[1]
963 << " " << angle_axis[2];