PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asx3d3_multi ( const LWCOLLECTION col,
char *  srs,
int  precision,
int  opts,
const char *  defid 

Definition at line 481 of file lwout_x3d.c.

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

Referenced by lwgeom_to_x3d3().

482 {
483  char *x3d;
484  size_t size;
486  size = asx3d3_multi_size(col, srs, precision, opts, defid);
487  x3d = lwalloc(size);
488  asx3d3_multi_buf(col, srs, x3d, precision, opts, defid);
489  return x3d;
490 }
static size_t asx3d3_multi_buf(const LWCOLLECTION *col, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:405
void * lwalloc(size_t size)
Definition: lwutil.c:175
static size_t asx3d3_multi_size(const LWCOLLECTION *col, char *srs, int precision, int opts, const char *defid)
Compute max size required for X3D version of this inspected geometry.
Definition: lwout_x3d.c:366

Here is the call graph for this function:

Here is the caller graph for this function: