#include <latlon_encoder.h>
Public Member Functions | |
void | convert (double lat, double lon, int bits=7) |
Public Attributes | |
int64_t | lat |
int64_t | lon |
Protected Member Functions | |
template<size_t precission> | |
void | latlonToBits (double lat, double lon) |
The utility for trimming and converting latitude and longitude position into a defined bit range integer representation. Supported ranges: 7, 10, 14, 18, 22
Definition at line 63 of file latlon_encoder.h.
void labust::tools::LatLon2Bits::convert | ( | double | lat, |
double | lon, | ||
int | bits = 7 |
||
) | [inline] |
Definition at line 120 of file latlon_encoder.h.
void labust::tools::LatLon2Bits::latlonToBits< 7 > | ( | double | lat, |
double | lon | ||
) | [inline, protected] |
Definition at line 76 of file latlon_encoder.h.
int64_t labust::tools::LatLon2Bits::lat |
Definition at line 68 of file latlon_encoder.h.
int64_t labust::tools::LatLon2Bits::lon |
Definition at line 68 of file latlon_encoder.h.