PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ asx3d3_multi()

static char * asx3d3_multi ( const LWCOLLECTION col,
char *  srs,
int  precision,
int  opts,
const char *  defid 
)
static

Definition at line 516 of file lwout_x3d.c.

References asx3d3_multi_buf(), asx3d3_multi_size(), and lwalloc().

Referenced by lwgeom_to_x3d3().

517 {
518  char *x3d;
519  size_t size;
520 
521  size = asx3d3_multi_size(col, srs, precision, opts, defid);
522  x3d = lwalloc(size);
523  asx3d3_multi_buf(col, srs, x3d, precision, opts, defid);
524  return x3d;
525 }
static size_t asx3d3_multi_buf(const LWCOLLECTION *col, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:437
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
opts
Definition: ovdump.py:44
static size_t asx3d3_multi_size(const LWCOLLECTION *col, char *srs, int precisioSn, int opts, const char *defid)
Compute max size required for X3D version of this inspected geometry.
Definition: lwout_x3d.c:394
Here is the call graph for this function:
Here is the caller graph for this function: