Murl::IHeading Interface Referenceabstract
The heading device interface. More...
#include "murl_i_heading.h"
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... | |
Detailed Description
The heading device interface.
Used by the platform to post events to the device.
Member Function Documentation
◆ PostEvent()
|
pure virtual |
Post the current geomagnetic data.
- Parameters
-
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.
The documentation for this interface was generated from the following file:
- murl_i_heading.h