Definition at line 274 of file cu_ptarray.c.
References LW_PARSER_CHECK_NONE, lwgeom_as_lwline(), lwgeom_as_lwpoly(), lwgeom_from_hexwkb(), lwgeom_from_text(), lwline_free(), lwpoly_free(), LWLINE::points, ptarray_isccw(), and LWPOLY::rings.
Referenced by ptarray_suite_setup().
283 CU_ASSERT_EQUAL(ccw, 0);
289 CU_ASSERT_EQUAL(ccw, 0);
295 CU_ASSERT_EQUAL(ccw, 1);
301 CU_ASSERT_EQUAL(ccw, 1);
307 CU_ASSERT_EQUAL(ccw, 0);
313 CU_ASSERT_EQUAL(ccw, 0);
void lwline_free(LWLINE *line)
LWPOLY * lwgeom_as_lwpoly(const LWGEOM *lwgeom)
#define LW_PARSER_CHECK_NONE
static LWGEOM * lwgeom_from_text(const char *str)
int ptarray_isccw(const POINTARRAY *pa)
void lwpoly_free(LWPOLY *poly)
LWLINE * lwgeom_as_lwline(const LWGEOM *lwgeom)
LWGEOM * lwgeom_from_hexwkb(const char *hexwkb, const char check)