Definition at line 1003 of file gserialized2.c.
1004{
1005 uint8_t *loc;
1006 int ptsize;
1007 size_t size;
1009
1010 assert(curve);
1011 assert(buf);
1012
1014 lwerror(
"Dimensions mismatch in lwcircstring");
1015
1016
1018 loc = buf;
1019
1020
1021 memcpy(loc, &type, sizeof(uint32_t));
1022 loc += sizeof(uint32_t);
1023
1024
1026 loc += sizeof(uint32_t);
1027
1028
1030 {
1033 loc += size;
1034 }
1035
1036 return (size_t)(loc - buf);
1037}
#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)
References CIRCSTRINGTYPE, POINTARRAY::flags, LWCIRCSTRING::flags, FLAGS_GET_ZM, getPoint_internal(), lwerror(), POINTARRAY::npoints, LWCIRCSTRING::points, and ptarray_point_size().
Referenced by gserialized2_from_lwgeom_any().