Structure for a rotation matrix.


typedef struct  {
    float matrix [3 *3];


BlackBerry 10.0.0


float matrix[3 *3]
The rotation matrix.

Since: BlackBerry 10.0.0


libbps (For the qcc command, use the -l bps option to link against this library)


The sensor_rotation_matrix_t structure defines a rotation matrix that represents the current rotation of the device. This structure is used with the sensor_event_get_rotation_matrix() function.

The rotational matrix computes the inclination matrix I as well as the rotation matrix R transforming a vector from the device coordinate system to the world's coordinate system which is defined as a direct orthonormal basis, where X is defined as the vector product Y.Z (It is tangential to the ground at the device's current location and roughly points east.)

Last modified: 2014-05-14

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus