![]() |
H3C HEALPix library for PostgreSQL
(version 1.2)
|
Interface the Healpix C++ library. More...
Go to the source code of this file.
Functions | |
h3c_ipix_t * | h3cpp_disk_ipix (h3c_coord_t ra, h3c_coord_t dec, double radius, int nside, int *nresult, int inclusive) |
retrieve the ipix list for a cone More... | |
int | h3cpp_number_ipix (int nside) |
get the number of ipix for a given nside More... | |
h3c_coord_t | h3cpp_radius (int nside) |
get the max radius of the circles arround the ipix for a given nside More... | |
h3c_ipix_t * | h3cpp_get_neighbors (h3c_ipix_t ipix, int nside) |
get ipix neighbors More... | |
void | h3cpp_ring2nest (long nside, h3c_ipix_t ipring, h3c_ipix_t *ipnest) |
transform ipix (RING) to ipix (NEST) More... | |
h3c_ipix_t* h3cpp_disk_ipix | ( | h3c_coord_t | ra, |
h3c_coord_t | dec, | ||
double | radius, | ||
int | nside, | ||
int * | nresult, | ||
int | inclusive | ||
) |
retrieve the ipix list for a cone
ra | right ascension |
dec | declination |
radius | radius |
nside | nside level |
nresult | number of elements in result |
Definition at line 49 of file h3cpp_healpix.cc.
References h3c_dec2theta().
h3c_ipix_t* h3cpp_get_neighbors | ( | h3c_ipix_t | ipix, |
int | nside | ||
) |
get ipix neighbors
ipix | the ipix |
nside | the nside level |
Definition at line 148 of file h3cpp_healpix.cc.
References h3c_order().
int h3cpp_number_ipix | ( | int | nside | ) |
get the number of ipix for a given nside
nside | the nside level |
Definition at line 112 of file h3cpp_healpix.cc.
References h3c_order().
h3c_coord_t h3cpp_radius | ( | int | nside | ) |
get the max radius of the circles arround the ipix for a given nside
nside | the nside level |
Definition at line 130 of file h3cpp_healpix.cc.
References h3c_order().
void h3cpp_ring2nest | ( | long | nside, |
h3c_ipix_t | ipring, | ||
h3c_ipix_t * | ipnest | ||
) |
transform ipix (RING) to ipix (NEST)
ipring | the ipix (in RING) |
ipnest | the ipix (in NEST) (OUT) |
Definition at line 220 of file h3cpp_healpix.cc.
References h3c_order().