Definition at line 2956 of file lwgeodetic.c.
2965 for ( i = 0; i < poly->
nrings; i++ )
int gbox_merge(const GBOX *new_box, GBOX *merge_box)
Update the merged GBOX to be large enough to include itself and the new box.
void gbox_duplicate(const GBOX *original, GBOX *duplicate)
Copy the values of original GBOX into duplicate.
#define LW_TRUE
Return types for functions with status returns.
static int gbox_check_poles(GBOX *gbox)
Check to see if this geocentric gbox is wrapped around a pole.
int ptarray_calculate_gbox_geodetic(const POINTARRAY *pa, GBOX *gbox)
Calculate geodetic (x/y/z) box and add values to gbox.
References GBOX::flags, gbox_check_poles(), gbox_duplicate(), gbox_merge(), LW_FAILURE, LW_FALSE, LW_SUCCESS, LW_TRUE, LWPOLY::nrings, ptarray_calculate_gbox_geodetic(), and LWPOLY::rings.
Referenced by lwgeom_calculate_gbox_geodetic().