Definition at line 2993 of file lwgeodetic.c.
2994{
2996 uint32_t i;
2999 assert(coll);
3002
3004
3005 for ( i = 0; i < coll->
ngeoms; i++ )
3006 {
3008 {
3009
3013 if ( first )
3014 {
3017 }
3018 else
3019 {
3021 }
3023 }
3024 }
3025 return result;
3026}
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.
GBOX * gbox_copy(const GBOX *box)
Return a copy of the GBOX, based on dimensionality of flags.
#define LW_TRUE
Return types for functions with status returns.
int lwgeom_calculate_gbox_geodetic(const LWGEOM *geom, GBOX *gbox)
Calculate the geodetic bounding box for an LWGEOM.
References LWGEOM::bbox, GBOX::flags, gbox_copy(), gbox_duplicate(), gbox_merge(), LWCOLLECTION::geoms, LW_FAILURE, LW_FALSE, LW_SUCCESS, LW_TRUE, lwfree(), lwgeom_calculate_gbox_geodetic(), and LWCOLLECTION::ngeoms.
Referenced by lwgeom_calculate_gbox_geodetic().