PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asx3d3_tin ( const LWTIN tin,
char *  srs,
int  precision,
int  opts,
const char *  defid 
)
static

Definition at line 651 of file lwout_x3d.c.

References asx3d3_tin_buf(), asx3d3_tin_size(), and lwalloc().

Referenced by lwgeom_to_x3d3().

652 {
653  char *x3d;
654  size_t size;
655 
656  size = asx3d3_tin_size(tin, srs, precision, opts, defid);
657  x3d = lwalloc(size);
658  asx3d3_tin_buf(tin, srs, x3d, precision, opts, defid);
659  return x3d;
660 }
static size_t asx3d3_tin_buf(const LWTIN *tin, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:607
static size_t asx3d3_tin_size(const LWTIN *tin, char *srs, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:583
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: