PostGIS  2.3.7dev-r@@SVN_REVISION@@
static void geography_gidx_center ( GIDX *  gidx,
POINT3D p 
)
static

Definition at line 50 of file geography_btree.c.

References POINT3D::x, POINT3D::y, and POINT3D::z.

Referenced by geography_cmp(), geography_eq(), geography_ge(), geography_gt(), geography_le(), and geography_lt().

51 {
52  p->x = GIDX_GET_MIN(gidx, 0) + GIDX_GET_MAX(gidx, 0);
53  p->y = GIDX_GET_MIN(gidx, 1) + GIDX_GET_MAX(gidx, 1);
54  p->z = GIDX_GET_MIN(gidx, 2) + GIDX_GET_MAX(gidx, 2);
55 }
double y
Definition: liblwgeom.h:339
double x
Definition: liblwgeom.h:339
double z
Definition: liblwgeom.h:339

Here is the caller graph for this function: