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

Definition at line 825 of file lwout_x3d.c.

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

Referenced by lwgeom_to_x3d3().

826 {
827  char *x3d;
828  size_t size;
829 
830  size = asx3d3_collection_size(col, srs, precision, opts, defid);
831  x3d = lwalloc(size);
832  asx3d3_collection_buf(col, srs, x3d, precision, opts, defid);
833  return x3d;
834 }
static size_t asx3d3_collection_buf(const LWCOLLECTION *col, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:753
static size_t asx3d3_collection_size(const LWCOLLECTION *col, char *srs, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:704
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:227

Here is the call graph for this function:

Here is the caller graph for this function: