Definition at line 201 of file cu_libgeom.c.
References LW_PARSER_CHECK_NONE, lwgeom_calculate_gbox_cartesian(), lwgeom_free(), lwgeom_from_hexwkb(), lwgeom_from_wkt(), GBOX::xmin, and GBOX::ymax.
Referenced by libgeom_suite_setup().
208 CU_ASSERT_DOUBLE_EQUAL(b.
xmin, 0.0, 0.0000001);
216 CU_ASSERT_DOUBLE_EQUAL(b.
xmin, 0.0, 0.0000001);
217 CU_ASSERT(isinf(b.
ymax));
224 CU_ASSERT_DOUBLE_EQUAL(b.
xmin, 0.0, 0.0000001);
225 CU_ASSERT(isinf(b.
ymax));
232 CU_ASSERT(isnan(b.
ymax));
void lwgeom_free(LWGEOM *geom)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
#define LW_PARSER_CHECK_NONE
LWGEOM * lwgeom_from_hexwkb(const char *hexwkb, const char check)
int lwgeom_calculate_gbox_cartesian(const LWGEOM *lwgeom, GBOX *gbox)
Calculate the 2-4D bounding box of a geometry.