Definition at line 932 of file gserialized2.c.
942 LWDEBUGF(2,
"%s (%p, %p) called", __func__, triangle, buf);
945 lwerror(
"Dimensions mismatch in lwtriangle");
952 memcpy(loc, &
type,
sizeof(uint32_t));
953 loc +=
sizeof(uint32_t);
957 loc +=
sizeof(uint32_t);
968 LWDEBUGF(3,
"%s copied serialized_pointlist (%d bytes)", __func__, ptsize * triangle->
points->
npoints);
970 return (
size_t)(loc - buf);
#define FLAGS_GET_ZM(flags)
#define LWDEBUGF(level, msg,...)
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
static size_t ptarray_point_size(const POINTARRAY *pa)
static uint8_t * getPoint_internal(const POINTARRAY *pa, uint32_t n)
References POINTARRAY::flags, LWTRIANGLE::flags, FLAGS_GET_ZM, getPoint_internal(), LWDEBUGF, lwerror(), POINTARRAY::npoints, LWTRIANGLE::points, ptarray_point_size(), TRIANGLETYPE, and ovdump::type.
Referenced by gserialized2_from_lwgeom_any().