Merge two given POINTARRAY and returns a pointer on the new aggregate one.
Warning: this function free the two inputs POINTARRAY
- Returns
- POINTARRAY is newly allocated
Definition at line 612 of file ptarray.c.
613{
616
618 lwerror(
"ptarray_cat: Mixed dimension");
619
623
627
631
634
635 return pa;
636}
#define FLAGS_GET_Z(flags)
#define FLAGS_GET_M(flags)
#define FLAGS_GET_ZM(flags)
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
static uint8_t * getPoint_internal(const POINTARRAY *pa, uint32_t n)
static size_t ptarray_point_size(const POINTARRAY *pa)
void ptarray_free(POINTARRAY *pa)
POINTARRAY * ptarray_construct(char hasz, char hasm, uint32_t npoints)
Construct an empty pointarray, allocating storage and setting the npoints, but not filling in any inf...
References POINTARRAY::flags, FLAGS_GET_M, FLAGS_GET_Z, FLAGS_GET_ZM, getPoint_internal(), lwerror(), POINTARRAY::npoints, ptarray_construct(), ptarray_free(), and ptarray_point_size().
Referenced by parse_gml_data().