Definition at line 495 of file cu_gserialized1.c.
505 testbox = (g->
bbox != NULL);
516 CU_ASSERT_DOUBLE_EQUAL(g->
bbox->
xmax, ymax, 0.00001);
517 CU_ASSERT_DOUBLE_EQUAL(g->
bbox->
ymax, xmax, 0.00001);
521 if (t == NULL) fprintf(stderr,
"In:%s", in);
523 fprintf(stderr,
"\nIn: %s\nOut: %s\nTheo: %s\n", in, t, out);
525 CU_ASSERT_STRING_EQUAL(t, out)
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
void lwgeom_swap_ordinates(LWGEOM *in, LWORD o1, LWORD o2)
Swap ordinate values in every vertex of the geometry.
char * lwgeom_to_wkt(const LWGEOM *geom, uint8_t variant, int precision, size_t *size_out)
WKT emitter function.
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
void lwgeom_add_bbox(LWGEOM *lwgeom)
Compute a bbox if not already computed.
References LWGEOM::bbox, LW_PARSER_CHECK_NONE, lwfree(), lwgeom_add_bbox(), lwgeom_free(), lwgeom_from_wkt(), lwgeom_swap_ordinates(), lwgeom_to_wkt(), LWORD_X, LWORD_Y, WKT_EXTENDED, GBOX::xmax, and GBOX::ymax.
Referenced by test_lwgeom_swap_ordinates().