PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int gserialized_read_gbox_p | ( | const GSERIALIZED * | g, |
GBOX * | gbox | ||
) |
Pull a GBOX from the header of a GSERIALIZED, if one is available.
If it is not, return LW_FAILURE.
Definition at line 414 of file g_serialized.c.
References GSERIALIZED::data, GBOX::flags, GSERIALIZED::flags, FLAGS_GET_BBOX, FLAGS_GET_GEODETIC, FLAGS_GET_M, FLAGS_GET_Z, LW_FAILURE, LW_SUCCESS, GBOX::mmax, GBOX::mmin, GBOX::xmax, GBOX::xmin, GBOX::ymax, GBOX::ymin, GBOX::zmax, and GBOX::zmin.
Referenced by gserialized_get_gbox_p(), lwgeom_from_gserialized(), and test_gbox_same_2d().