PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwline_to_twkb_buf()

static int lwline_to_twkb_buf ( const LWLINE line,
TWKB_GLOBALS globals,
TWKB_STATE ts 
)
static

Definition at line 249 of file lwout_twkb.c.

250{
251 LWDEBUGF(2, "Entered %s", __func__);
252
253 /* Set the coordinates (do write npoints) */
254 ptarray_to_twkb_buf(line->points, globals, ts, 1, 2);
255 return 0;
256}
#define LWDEBUGF(level, msg,...)
Definition lwgeom_log.h:106
static int ptarray_to_twkb_buf(const POINTARRAY *pa, TWKB_GLOBALS *globals, TWKB_STATE *ts, int register_npoints, uint32_t minpoints)
Stores a pointarray as varints in the buffer @register_npoints, controls whether an npoints entry is ...
Definition lwout_twkb.c:107
POINTARRAY * points
Definition liblwgeom.h:483

References LWDEBUGF, LWLINE::points, and ptarray_to_twkb_buf().

Referenced by lwgeom_to_twkb_buf().

Here is the call graph for this function:
Here is the caller graph for this function: