Definition at line 688 of file cu_ptarray.c.
697 wkt =
"LINESTRING (0 0 0, 1 0 0, 2 0 0, 3 0 10)";
726 wkt =
"LINESTRING(4 31,7 31,7 34,4 34,4 31)";
729 qp.
x = 7.1; qp.
y = 31.1;
static LWGEOM * lwgeom_from_text(const char *str)
#define ASSERT_DOUBLE_EQUAL(o, e)
#define ASSERT_INT_EQUAL(o, e)
LWLINE * lwgeom_as_lwline(const LWGEOM *lwgeom)
int ptarray_closest_segment_2d(const POINTARRAY *pa, const POINT2D *qp, double *dist)
void lwline_free(LWLINE *line)
References ASSERT_DOUBLE_EQUAL, ASSERT_INT_EQUAL, lwgeom_as_lwline(), lwgeom_from_text(), lwline_free(), LWLINE::points, ptarray_closest_segment_2d(), POINT2D::x, and POINT2D::y.
Referenced by ptarray_suite_setup().