PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int gserialized_get_gbox_p | ( | const GSERIALIZED * | g, |
GBOX * | box | ||
) |
Read the bounding box off a serialization and calculate one if it is not already there.
Pull a GBOX from the header of a GSERIALIZED, if one is available.
Definition at line 640 of file g_serialized.c.
References gbox_float_round(), gserialized_peek_gbox_p(), gserialized_read_gbox_p(), LW_SUCCESS, lwgeom_calculate_gbox(), lwgeom_free(), and lwgeom_from_gserialized().
Referenced by BOX2D_combine(), CircTreePIP(), compute_gserialized_stats_mode(), contains(), containsproperly(), convexhull(), coveredby(), covers(), crosses(), disjoint(), geography_bestsrid(), geography_point_outside(), geos_intersects(), gserialized_cmp(), gserialized_datum_get_box2df_p(), LWGEOM_to_BOX2DF(), optimistic_overlap(), overlaps(), ST_Equals(), ST_Voronoi(), and touches().