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 603 of file ptarray.c.
604{
607
609 lwerror(
"ptarray_cat: Mixed dimension");
610
614
618
622
625
626 return pa;
627}
#define FLAGS_GET_Z(flags)
#define FLAGS_GET_M(flags)
#define FLAGS_GET_ZM(flags)
void lwerror(const char *fmt,...)
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().