Definition at line 37 of file cu_ptarray.c.
References ASSERT_STRING_EQUAL, LW_FALSE, LW_TRUE, lwfree(), lwgeom_as_lwline(), lwgeom_from_text(), lwgeom_to_text(), lwline_as_lwgeom(), lwline_free(), LWLINE::points, ptarray_append_point(), POINT4D::x, and POINT4D::y.
Referenced by ptarray_suite_setup().
#define ASSERT_STRING_EQUAL(o, e)
void lwline_free(LWLINE *line)
static LWGEOM * lwgeom_from_text(const char *str)
LWGEOM * lwline_as_lwgeom(const LWLINE *obj)
int ptarray_append_point(POINTARRAY *pa, const POINT4D *pt, int allow_duplicates)
Append a point to the end of an existing POINTARRAY If allow_duplicate is LW_FALSE, then a duplicate point will not be added.
static char * lwgeom_to_text(const LWGEOM *geom)
#define LW_TRUE
Return types for functions with status returns.
LWLINE * lwgeom_as_lwline(const LWGEOM *lwgeom)