Definition at line 570 of file cu_ptarray.c.
578 wkt =
"LINESTRING ZM (0 1 2 3,1 2 3 0,-2 -3 0 -1,-3 0 -1 -2)";
582 factor.
x = factor.
y = factor.
z = factor.
m = 1;
589 wkt =
"LINESTRING ZM (0 1 2 3,2 2 3 0,-4 -3 0 -1,-6 0 -1 -2)";
595 factor.
x = 1; factor.
y = 3;
596 wkt =
"LINESTRING ZM (0 3 2 3,2 6 3 0,-4 -9 0 -1,-6 0 -1 -2)";
602 factor.
x = 1; factor.
y = 1; factor.
z = -2;
603 wkt =
"LINESTRING ZM (0 3 -4 3,2 6 -6 0,-4 -9 0 -1,-6 0 2 -2)";
609 factor.
x = 1; factor.
y = 1; factor.
z = 1; factor.
m = 2;
610 wkt =
"LINESTRING ZM (0 3 -4 6,2 6 -6 0,-4 -9 0 -2,-6 0 2 -4)";
static char * lwgeom_to_text(const LWGEOM *geom)
static LWGEOM * lwgeom_from_text(const char *str)
#define ASSERT_STRING_EQUAL(o, e)
LWLINE * lwgeom_as_lwline(const LWGEOM *lwgeom)
LWGEOM * lwline_as_lwgeom(const LWLINE *obj)
void lwline_free(LWLINE *line)
void ptarray_scale(POINTARRAY *pa, const POINT4D *factor)
WARNING, make sure you send in only 16-member double arrays or obviously things will go pear-shaped f...
References ASSERT_STRING_EQUAL, lwfree(), lwgeom_as_lwline(), lwgeom_from_text(), lwgeom_to_text(), lwline_as_lwgeom(), lwline_free(), POINT4D::m, LWLINE::points, ptarray_scale(), POINT4D::x, POINT4D::y, and POINT4D::z.
Referenced by ptarray_suite_setup().