Skip to content

Quaternion Structure rm_quat_t

Parameter description

ParameterTypeDescription
wfloatScalar part of a quaternion, representing the angle and direction of rotation.
xfloatThe first component in the vector part of a quaternion.
yfloatThe second component in the vector part of a quaternion.
zfloatThe third component in the vector part of a quaternion.

Member function

python
rm_ctypes_wrap.rm_quat_t.to_dict(self,recurse = True)

Return the class variables as dictionaries and, if the recurse is True, process the structure fields recursively through ctypes.