PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ asx3d3_collection()

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

Definition at line 804 of file lwout_x3d.c.

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

Referenced by lwgeom_to_x3d3().

805 {
806  char *x3d;
807  size_t size;
809  size = asx3d3_collection_size(col, srs, precision, opts, defid);
810  x3d = lwalloc(size);
811  asx3d3_collection_buf(col, srs, x3d, precision, opts, defid);
812  return x3d;
813 }
static size_t asx3d3_collection_buf(const LWCOLLECTION *col, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:732
static size_t asx3d3_collection_size(const LWCOLLECTION *col, char *srs, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:683
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:199
Here is the call graph for this function:
Here is the caller graph for this function: