CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_navigation.h>
Public Attributes | |
uint32_t | iValidity = 0 |
double | iTime = 0 |
TPointFP | iPosition |
double | iSpeed = 0 |
double | iCourse = 0 |
double | iHeight = 0 |
Static Public Attributes | |
static constexpr uint32_t | KTimeValid = 1 |
static constexpr uint32_t | KPositionValid = 2 |
static constexpr uint32_t | KSpeedValid = 4 |
static constexpr uint32_t | KCourseValid = 8 |
static constexpr uint32_t | KHeightValid = 16 |
Basic data received from a navigation device such as a GPS receiver. The only essential piece of data is the position. The time is set automatically if not supplied, and the speed and course are calculated from successive positions. The height (elevation in meters) may be supplied but is used only when tracking (storing a log of positions) and is not essential for that function.
double CartoType::TNavigationData::iCourse = 0 |
True course in degrees.
double CartoType::TNavigationData::iHeight = 0 |
Height above sea level in meters.
TPointFP CartoType::TNavigationData::iPosition |
Position in degrees latitude and longitude.
double CartoType::TNavigationData::iSpeed = 0 |
Speed in kilometres per hour.
double CartoType::TNavigationData::iTime = 0 |
The time in seconds: the number of seconds since 00:00 on the 1st January 1970, UTC.
uint32_t CartoType::TNavigationData::iValidity = 0 |
Flags indicating validity or availability of data.
|
staticconstexpr |
A bit value for flags in iValidity indicating that the course is valid.
|
staticconstexpr |
A bit value for flags in iValidity indicating that the time is valid.
|
staticconstexpr |
A bit value for flags in iValidity indicating that the position is valid.
|
staticconstexpr |
A bit value for flags in iValidity indicating that the speed is valid.
|
staticconstexpr |
A bit value for flags in iValidity indicating that the time is valid.