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

Definition at line 671 of file lwout_x3d.c.

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

Referenced by lwgeom_to_x3d3().

672 {
673  char *x3d;
674  size_t size;
676  size = asx3d3_tin_size(tin, srs, precision, opts, defid);
677  x3d = lwalloc(size);
678  asx3d3_tin_buf(tin, srs, x3d, precision, opts, defid);
679  return x3d;
680 }
static size_t asx3d3_tin_buf(const LWTIN *tin, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:625
uint8_t precision
Definition: cu_in_twkb.c:25
static size_t asx3d3_tin_size(const LWTIN *tin, char *srs, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:601
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: