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

Definition at line 495 of file lwout_x3d.c.

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

Referenced by lwgeom_to_x3d3().

496 {
497  char *x3d;
498  size_t size;
499 
500  size = asx3d3_multi_size(col, srs, precision, opts, defid);
501  x3d = lwalloc(size);
502  asx3d3_multi_buf(col, srs, x3d, precision, opts, defid);
503  return x3d;
504 }
static size_t asx3d3_multi_buf(const LWCOLLECTION *col, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:416
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:199
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:373

Here is the call graph for this function:

Here is the caller graph for this function: