Ticket #1324 (closed task: fixed)
Provide a function to read an LWGEOM bounding box and stop reading it directly
|Reported by:||strk||Owned by:||strk|
Description (last modified by strk) (diff)
In order to simplify the code, we'd need a function that returns an LWGEOM's bounding box optionally caching it in the structure if not available.
I belive computing the BBOX of a multigeometry by combining the rounded BBOX of component geometries should yeld the same numbers as computing everything using doubles and rounding only at the end, although the operation would be slightly less performance (could be impossible to note even by a performance analisys tool).
Such new function could replace the public compute_bbox functions (there are 3 of them: wrapper, geodetic, cartesian) which could then be moved to the internal header.