![]() |
Murl Engine API
Version 2018.3
|
The heading device interface. More...
#include <murl_i_heading.h>
The heading device interface.
Used by the platform to post events to the device.
Inherited by Murl::Input::HeadingDevice.
Public Member Functions | |
virtual void | PostEvent (Double fieldX, Double fieldY, Double fieldZ, Double magneticAngle, Double trueAngle)=0 |
Post the current geomagnetic data. More... | |
|
pure virtual |
Post the current geomagnetic data.
fieldX | The geomagnetic data for the x-axis in microteslas. |
fieldY | The geomagnetic data for the y-axis in microteslas. |
fieldZ | The geomagnetic data for the z-axis in microteslas. |
magneticAngle | The angle relative to the magnetic north in degrees. The value 0 means the device is pointed toward magnetic north, 90 means it is pointed east, 180 south, and 270 west. |
trueAngle | The angle relative to the true north in degrees. The value 0 means the device is pointed toward true north, 90 means it is pointed east, 180 south, and 270 west. |