PostGIS  2.1.10dev-r@@SVN_REVISION@@
Datum LWGEOM_hasBBOX ( PG_FUNCTION_ARGS  )

Definition at line 2003 of file lwgeom_functions_basic.c.

References gserialized_has_bbox(), and window::res.

2004 {
2005  GSERIALIZED *in = (GSERIALIZED *)PG_DETOAST_DATUM(PG_GETARG_DATUM(0));
2006  char res = gserialized_has_bbox(in);
2007  PG_FREE_IF_COPY(in, 0);
2008  PG_RETURN_BOOL(res);
2009 }
tuple res
Definition: window.py:80
int gserialized_has_bbox(const GSERIALIZED *gser)
Check if a GSERIALIZED has a bounding box without deserializing first.
Definition: g_serialized.c:20

Here is the call graph for this function: