#include <sys/types.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <seaproto.h>
Go to the source code of this file.
|
#define | PI 3.141592653589793 |
|
|
void | bin_init (int32_t nrow, int64_t **nbin, int64_t **bbin, double **lbin, int64_t *tbin) |
|
void | bin2ll (int64_t bin, double *lat, double *lon) |
|
void | ll2bin (double lat, double lon, int64_t *bin) |
|
void | ll2rc (double lat, double lon, int32_t *row, int32_t *col) |
|
void | rc2ll (int32_t row, int32_t col, double *lat, double *lon) |
|
void | rc2bin (int32_t row, int32_t col, int64_t *bin) |
|
void | bin2rc (int64_t bin, int32_t *row, int32_t *col) |
|
◆ PI
#define PI 3.141592653589793 |
◆ bin2ll()
void bin2ll |
( |
int64_t |
bin, |
|
|
double * |
lat, |
|
|
double * |
lon |
|
) |
| |
◆ bin2rc()
void bin2rc |
( |
int64_t |
bin, |
|
|
int32_t * |
row, |
|
|
int32_t * |
col |
|
) |
| |
◆ bin_init()
void bin_init |
( |
int32_t |
nrow, |
|
|
int64_t ** |
nbin, |
|
|
int64_t ** |
bbin, |
|
|
double ** |
lbin, |
|
|
int64_t * |
tbin |
|
) |
| |
◆ ll2bin()
void ll2bin |
( |
double |
lat, |
|
|
double |
lon, |
|
|
int64_t * |
bin |
|
) |
| |
◆ ll2rc()
void ll2rc |
( |
double |
lat, |
|
|
double |
lon, |
|
|
int32_t * |
row, |
|
|
int32_t * |
col |
|
) |
| |
◆ rc2bin()
void rc2bin |
( |
int32_t |
row, |
|
|
int32_t |
col, |
|
|
int64_t * |
bin |
|
) |
| |
◆ rc2ll()
void rc2ll |
( |
int32_t |
row, |
|
|
int32_t |
col, |
|
|
double * |
lat, |
|
|
double * |
lon |
|
) |
| |