PostGIS  2.3.7dev-r@@SVN_REVISION@@
static int lwpoint_to_twkb_buf ( const LWPOINT pt,
TWKB_GLOBALS globals,
TWKB_STATE ts 
)
static

Definition at line 231 of file lwout_twkb.c.

References LWDEBUGF, LWPOINT::point, and ptarray_to_twkb_buf().

Referenced by lwgeom_to_twkb_buf().

232 {
233  LWDEBUGF(2, "Entered %s", __func__);
234 
235  /* Set the coordinates (don't write npoints) */
236  ptarray_to_twkb_buf(pt->point, globals, ts, 0, 1);
237  return 0;
238 }
POINTARRAY * point
Definition: liblwgeom.h:410
static int ptarray_to_twkb_buf(const POINTARRAY *pa, TWKB_GLOBALS *globals, TWKB_STATE *ts, int register_npoints, int minpoints)
Stores a pointarray as varints in the buffer , controls whether an npoints entry is added to the buff...
Definition: lwout_twkb.c:106
#define LWDEBUGF(level, msg,...)
Definition: lwgeom_log.h:88

Here is the call graph for this function:

Here is the caller graph for this function: