Public Member Functions | Public Attributes | Protected Member Functions
labust::tools::LatLon2Bits Class Reference

#include <latlon_encoder.h>

List of all members.

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)

Detailed Description

The utility for trimming and converting latitude and longitude position into a defined bit range integer representation. Supported ranges: 7, 10, 14, 18, 22

Todo:
Define how the ranges are specified.

Definition at line 63 of file latlon_encoder.h.


Member Function Documentation

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.


Member Data Documentation

Definition at line 68 of file latlon_encoder.h.

Definition at line 68 of file latlon_encoder.h.


The documentation for this class was generated from the following file:


snippets
Author(s): Gyula Nagy
autogenerated on Fri Aug 28 2015 11:22:33