fractaldna.utils.rotations

rotations.py

Functions

eulerMatrix(angx, angy, angz)

getEulerAngles(rotmatrix)

param rotmarix:

rotation matrix

matrix_interpolate(start_matrix, ...[, ...])

Get an interpolated rotation matrix subject to constraints

quaternion_about_axis(angle, axis)

Return quaternion for rotation about axis.

quaternion_from_matrix(matrix[, isprecise])

Return quaternion from rotation matrix.

quaternion_matrix(quaternion)

Return homogeneous rotation matrix from quaternion.

quaternion_multiply(quaternion1, quaternion0)

Return multiplication of two quaternions.

quaternion_slerp(quat0, quat1, fraction[, ...])

Return spherical linear interpolation between two quaternions.

rot_ax_angle(axis, angle)

rotx(angle)

roty(angle)

rotz(angle)

unit_vector(data[, axis, out])

Return ndarray normalized by length, i.e. Euclidean norm, along axis.

vector_norm(data[, axis, out])

Return length, i.e. Euclidean norm, of ndarray along axis.