Home | Trees | Index | Help |
|
---|
Module Mathutils :: Class Quaternion |
|
Method Summary | |
---|---|
New quaternion object. |
Create a new quaternion object from initialized values. |
Set the quaternion to it's conjugate. | |
Set the quaternion to the identity quaternion. | |
Set the quaternion to it's inverse | |
Set the quaternion to it's negative. | |
Normalize the quaternion. | |
Euler object |
Return Euler representation of the quaternion. |
Matrix object |
Return a matrix representation of the quaternion. |
Class Variable Summary | |
---|---|
angle : A scalar representing the amount of rotation in degrees. | |
axis : Vector representing the axis of rotation. | |
magnitude : The magnitude of the quaternion. | |
w : The w value. | |
x : The x value. | |
y : The y value. | |
z : The z value. |
Method Details |
---|
__init__(list,
angle=None)
|
conjugate()Set the quaternion to it's conjugate. |
identity()Set the quaternion to the identity quaternion. |
inverse()Set the quaternion to it's inverse |
negate()Set the quaternion to it's negative. |
normalize()Normalize the quaternion. |
toEuler()Return Euler representation of the quaternion.
|
toMatrix()Return a matrix representation of the quaternion.
|
Class Variable Details |
---|
angleA scalar representing the amount of rotation in degrees. |
axisVector representing the axis of rotation. |
magnitudeThe magnitude of the quaternion. |
wThe w value. |
xThe x value. |
yThe y value. |
zThe z value. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Jan 4 13:43:05 2005 | http://epydoc.sf.net |