PostGIS
3.4.0dev-r@@SVN_REVISION@@
|
int gserialized_datum_get_gbox_p | ( | Datum | gsdatum, |
GBOX * | gbox | ||
) |
Given a GSERIALIZED datum, as quickly as possible (peaking into the top of the memory) return the gbox extents.
Does not deserialize the geometry, but WARNING returns a slightly larger bounding box than actually encompasses the objects. For geography objects returns geocentric bounding box, for geometry objects returns cartesian bounding box.
Definition at line 514 of file gserialized_gist_2d.c.
References gserialized_datum_get_internals_p(), and ovdump::type.
Referenced by _postgis_gserialized_sel(), BOX2D_combine(), compute_gserialized_stats_mode(), geography_point_outside(), gserialized_sel_internal(), and LWGEOM_to_BOX2DF().