#include <latlon_encoder.h>
Public Member Functions | |
| Bits2LatLon (double ilat=0, double ilon=0) | |
| void | convert (double lat, double lon, int bits=7) |
| void | setInitLatLon (double lat, double lon) |
Public Attributes | |
| double | initLat |
| double | initLon |
| double | latitude |
| double | longitude |
Protected Member Functions | |
| template<size_t precission> | |
| void | bitsToLatlon (double lat, double lon) |
| void | normalize () |
The utility for trimming and converting latitude and longitude position from a defined bit range integer representation. The class needs an initial latitude and longitude and then propagates the initial latitude and longitude as data arrives. Supported ranges: 7, 10, 14, 18, 22
Definition at line 144 of file latlon_encoder.h.
| labust::tools::Bits2LatLon::Bits2LatLon | ( | double | ilat = 0, |
| double | ilon = 0 |
||
| ) | [inline] |
Definition at line 147 of file latlon_encoder.h.
| void labust::tools::Bits2LatLon::bitsToLatlon< 7 > | ( | double | lat, |
| double | lon | ||
| ) | [inline, protected] |
Definition at line 170 of file latlon_encoder.h.
| void labust::tools::Bits2LatLon::convert | ( | double | lat, |
| double | lon, | ||
| int | bits = 7 |
||
| ) | [inline] |
Definition at line 243 of file latlon_encoder.h.
| void labust::tools::Bits2LatLon::normalize | ( | ) | [inline, protected] |
Definition at line 171 of file latlon_encoder.h.
| void labust::tools::Bits2LatLon::setInitLatLon | ( | double | lat, |
| double | lon | ||
| ) | [inline] |
Definition at line 158 of file latlon_encoder.h.
Definition at line 166 of file latlon_encoder.h.
Definition at line 166 of file latlon_encoder.h.
Definition at line 165 of file latlon_encoder.h.
Definition at line 165 of file latlon_encoder.h.