PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
void lwgeom_add_bbox | ( | LWGEOM * | lwgeom | ) |
Ensure there's a box in the LWGEOM.
Compute a bbox if not already computed.
If the box is already there just return, else compute it.
Definition at line 686 of file lwgeom.c.
References LWGEOM::bbox, LWGEOM::flags, FLAGS_SET_BBOX, gbox_new(), lwgeom_calculate_gbox(), and lwgeom_is_empty().
Referenced by do_lwgeom_swap_ordinates(), geom_from_kml(), GEOS2POSTGIS(), gserialized_from_lwgeom(), lw_dist2d_recursive(), LWGEOM_addBBOX(), LWGEOM_ChaikinSmoothing(), LWGEOM_expand(), lwgeom_from_encoded_polyline(), lwgeom_from_geojson(), LWGEOM_from_WKB(), LWGEOM_geometryn_collection(), lwgeom_get_bbox(), LWGEOM_in(), LWGEOM_recv(), lwgeom_refresh_bbox(), LWGEOM_SetEffectiveArea(), LWGEOMFromEWKB(), LWGEOMFromTWKB(), lwline_removepoint(), lwpoly_construct_envelope(), lwt_ChangeEdgeGeom(), SFCGALGeometry2POSTGIS(), test_gbox_same_2d(), test_lwgeom_from_gserialized(), test_lwgeom_same(), and test_lwgeom_scale().