H3C HEALPix library for PostgreSQL  (version 1.2)
common.h File Reference
#include <math.h>
#include <stdlib.h>
#include "postgres.h"
+ Include dependency graph for common.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void h3c_poly_center (int, h3c_coord_t *, h3c_coord_t *, h3c_coord_t *)
 get the polgon center More...
 

Detailed Description

Note: definitions which comes from H3C

Definition in file common.h.

Function Documentation

◆ h3c_poly_center()

void h3c_poly_center ( int  n,
h3c_coord_t *  in_ra,
h3c_coord_t *  in_dec,
h3c_coord_t *  b 
)

get the polgon center

Parameters
nnumber of points
in_raright ascention of the polygon points
in_decdeclination ot the polygon points
b(OUT) the center

Definition at line 86 of file h3c_poly_more.c.