Definition at line 1666 of file cu_geodetic.c.
1672 snprintf(wkt, 256,
"LINESTRING(%f %f,%f %f)", xmin, ymin, xmax, ymax);
1685 CU_ASSERT(gbox_ll.
xmin <= xmin);
1686 CU_ASSERT(gbox_ll.
ymin <= ymin);
1687 CU_ASSERT(gbox_ll.
xmax >= xmax);
1688 CU_ASSERT(gbox_ll.
ymax >= ymax);
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
int lwgeom_calculate_gbox_geodetic(const LWGEOM *geom, GBOX *gbox)
Calculate the geodetic bounding box for an LWGEOM.
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
int gbox_geocentric_get_gbox_cartesian(const GBOX *gbox_geocentric, GBOX *gbox_planar)
References gbox_geocentric_get_gbox_cartesian(), LW_PARSER_CHECK_NONE, lwgeom_calculate_gbox_geodetic(), lwgeom_free(), lwgeom_from_wkt(), GBOX::xmax, GBOX::xmin, GBOX::ymax, and GBOX::ymin.
Referenced by test_gbox_geocentric_get_gbox_cartesian().