Definition at line 1111 of file cu_libgeom.c.
References gbox_init(), gserialized_from_lwgeom(), gserialized_has_bbox(), gserialized_peek_gbox_p(), LW_FAILURE, LW_PARSER_CHECK_NONE, lwfree(), lwgeom_free(), lwgeom_from_wkt(), and test_gserialized_peek_gbox_p_gets_correct_box().
Referenced by libgeom_suite_setup(), and test_gbox_same_2d().
1120 "MULTIPOINT (EMPTY)",
1121 "MULTILINESTRING EMPTY",
1122 "MULTILINESTRING (EMPTY)" 1125 for ( i = 0; i < (
sizeof ewkt/
sizeof(
char*)); i++ )
static int gserialized_peek_gbox_p(const GSERIALIZED *g, GBOX *gbox)
void lwgeom_free(LWGEOM *geom)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
int gserialized_has_bbox(const GSERIALIZED *gser)
Check if a GSERIALIZED has a bounding box without deserializing first.
#define LW_PARSER_CHECK_NONE
void gbox_init(GBOX *gbox)
Zero out all the entries in the GBOX.
GSERIALIZED * gserialized_from_lwgeom(LWGEOM *geom, size_t *size)
Allocate a new GSERIALIZED from an LWGEOM.