686 POSTGIS_DEBUG(4,
"gserialized_datum_get_gbox_p returned LW_FAILURE");
687 elog(ERROR,
"Error in gserialized_datum_get_gbox_p calculation.");
697 PG_RETURN_POINTER(geography_serialize(lwpoint));
char * gbox_to_string(const GBOX *gbox)
Allocate a string representation of the GBOX, based on dimensionality of flags.
int gserialized_datum_get_gbox_p(Datum gsdatum, GBOX *gbox)
Given a GSERIALIZED datum, as quickly as possible (peaking into the top of the memory) return the gbo...
LWPOINT * lwpoint_make2d(int32_t srid, double x, double y)
int gbox_pt_outside(const GBOX *gbox, POINT2D *pt_outside)
Calculate a spherical point that falls outside the geocentric gbox.