Definition at line 37 of file lwout_x3d.c.
38{
40 int rv;
41
42
44 {
47 return v;
48 }
49
52
54 {
56 return NULL;
57 }
58
61
62 return v;
63}
void * lwalloc(size_t size)
#define LWSIZE_SET(varsize, len)
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
static int lwgeom_to_x3d3_sb(const LWGEOM *geom, int precision, int opts, const char *defid, stringbuffer_t *sb)
stringbuffer_t * stringbuffer_create(void)
Allocate a new stringbuffer_t.
lwvarlena_t * stringbuffer_getvarlenacopy(stringbuffer_t *s)
void stringbuffer_destroy(stringbuffer_t *s)
Free the stringbuffer_t and all memory managed within it.
References LW_FAILURE, lwalloc(), lwgeom_is_empty(), lwgeom_to_x3d3_sb(), LWSIZE_SET, LWVARHDRSZ, precision, lwvarlena_t::size, stringbuffer_create(), stringbuffer_destroy(), and stringbuffer_getvarlenacopy().
Referenced by do_x3d3_test(), do_x3d3_unsupported(), and LWGEOM_asX3D().