PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwpoint_to_twkb_buf()

static int lwpoint_to_twkb_buf ( const LWPOINT pt,
TWKB_GLOBALS globals,
TWKB_STATE ts 
)
static

Definition at line 235 of file lwout_twkb.c.

236 {
237  LWDEBUGF(2, "Entered %s", __func__);
238 
239  /* Set the coordinates (don't write npoints) */
240  ptarray_to_twkb_buf(pt->point, globals, ts, 0, 1);
241  return 0;
242 }
#define LWDEBUGF(level, msg,...)
Definition: lwgeom_log.h:88
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:106
POINTARRAY * point
Definition: liblwgeom.h:414

References LWDEBUGF, LWPOINT::point, 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: