mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 11:23:49 +08:00
8 lines
266 B
Cython
8 lines
266 B
Cython
from .h3lib cimport H3int
|
|
|
|
cpdef H3int latlng_to_cell(double lat, double lng, int res) except 1
|
|
cpdef (double, double) cell_to_latlng(H3int h) except *
|
|
cpdef double great_circle_distance(
|
|
double lat1, double lng1,
|
|
double lat2, double lng2, unit=*) except -1
|