Update the merged GBOX to be large enough to include itself and the new box.
Definition at line 269 of file g_box.c.
References GBOX::flags, FLAGS_GET_GEODETIC, FLAGS_GET_M, FLAGS_GET_Z, FLAGS_GET_ZM, LW_FAILURE, LW_SUCCESS, GBOX::mmax, GBOX::mmin, GBOX::xmax, GBOX::xmin, GBOX::ymax, GBOX::ymin, GBOX::zmax, and GBOX::zmin.
Referenced by _lwt_RemEdge(), lwcircstring_calculate_gbox_cartesian(), lwcollection_calculate_gbox_cartesian(), lwcollection_calculate_gbox_geodetic(), LWGEOM_collect_garray(), lwpolygon_calculate_gbox_geodetic(), and ptarray_calculate_gbox_geodetic().
276 if ( new_box->
xmin < merge_box->xmin) merge_box->xmin = new_box->
xmin;
277 if ( new_box->
ymin < merge_box->ymin) merge_box->ymin = new_box->
ymin;
278 if ( new_box->
xmax > merge_box->xmax) merge_box->xmax = new_box->
xmax;
279 if ( new_box->
ymax > merge_box->ymax) merge_box->ymax = new_box->
ymax;
283 if ( new_box->
zmin < merge_box->zmin) merge_box->zmin = new_box->
zmin;
284 if ( new_box->
zmax > merge_box->zmax) merge_box->zmax = new_box->
zmax;
288 if ( new_box->
mmin < merge_box->mmin) merge_box->mmin = new_box->
mmin;
289 if ( new_box->
mmax > merge_box->mmax) merge_box->mmax = new_box->
mmax;
#define FLAGS_GET_GEODETIC(flags)
#define FLAGS_GET_ZM(flags)
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
#define FLAGS_GET_M(flags)