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

Definition at line 760 of file lwout_x3d.c.

References asx3d3_collection_buf(), asx3d3_collection_size(), and lwalloc().

Referenced by lwgeom_to_x3d3().

761 {
762  char *x3d;
763  size_t size;
764 
765  size = asx3d3_collection_size(col, srs, precision, opts, defid);
766  x3d = lwalloc(size);
767  asx3d3_collection_buf(col, srs, x3d, precision, opts, defid);
768  return x3d;
769 }
static size_t asx3d3_collection_buf(const LWCOLLECTION *col, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:703
static size_t asx3d3_collection_size(const LWCOLLECTION *col, char *srs, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:663
void * lwalloc(size_t size)
Definition: lwutil.c:175

Here is the call graph for this function:

Here is the caller graph for this function: