PostGIS
3.0.6dev-r@@SVN_REVISION@@
|
int gserialized_get_gbox_p | ( | const GSERIALIZED * | g, |
GBOX * | gbox | ||
) |
Read the box from the GSERIALIZED or calculate it if necessary.
Pull a GBOX from the header of a GSERIALIZED, if one is available.
Return #LWFAILURE if box cannot be calculated (NULL or EMPTY input).
If it is not, calculate it from the geometry. If that doesn't work (null or empty) return LW_FAILURE.
Pull a GBOX from the header of a GSERIALIZED, if one is available.
Return #LWFAILURE if box cannot be calculated (NULL or EMPTY input).
If it is not, calculate it from the geometry. If that doesn't work (null or empty) return LW_FAILURE.
Definition at line 65 of file gserialized.c.