Definition at line 1188 of file cu_libgeom.c.
References GSERIALIZED::flags, LWGEOM::flags, gbox_init(), gserialized_from_lwgeom_any(), gserialized_from_lwgeom_size(), gserialized_has_bbox(), gserialized_peek_gbox_p(), LW_FAILURE, LW_PARSER_CHECK_NONE, lwalloc(), lwfree(), lwgeom_drop_bbox(), lwgeom_free(), lwgeom_from_wkt(), and test_signum_macro().
Referenced by libgeom_suite_setup(), and test_gserialized_peek_gbox_p_gets_correct_box().
1194 "MULTIPOINT ((-76.45402132523 44.225406213532), (-72 33))",
1195 "LINESTRING (2.2945672355 48.85822923236, -76.45402132523 44.225406213532, -72 33)",
1196 "MULTILINESTRING ((2.2945672355 48.85822923236, -76.45402132523 44.225406213532, -72 33))",
1197 "MULTILINESTRING ((2.2945672355 48.85822923236, -76.45402132523 44.225406213532), (-72 33, -71 32))" 1200 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.
void lwgeom_drop_bbox(LWGEOM *lwgeom)
Call this function to drop BBOX and SRID from LWGEOM.
#define LW_PARSER_CHECK_NONE
void gbox_init(GBOX *gbox)
Zero out all the entries in the GBOX.
size_t gserialized_from_lwgeom_size(const LWGEOM *geom)
Calculate required memory segment to contain a serialized form of the LWGEOM.
static size_t gserialized_from_lwgeom_any(const LWGEOM *geom, uint8_t *buf)
void * lwalloc(size_t size)