Example usage for Java org.apache.lucene.geo GeoEncodingUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
double | decodeLatitude(byte[] src, int offset) Turns quantized value from byte array back into a double. |
double | decodeLatitude(int encoded) Turns quantized value from #encodeLatitude back into a double. |
double | decodeLongitude(byte[] src, int offset) Turns quantized value from byte array back into a double. |
double | decodeLongitude(int encoded) Turns quantized value from #encodeLongitude back into a double. |
int | encodeLatitude(double latitude) Quantizes double (64 bit) latitude into 32 bits (rounding down: in the direction of -90) |
int | encodeLongitude(double longitude) Quantizes double (64 bit) longitude into 32 bits (rounding down: in the direction of -180) |