PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ asx3d3_tin()

static char * asx3d3_tin ( const LWTIN tin,
char *  srs,
int  precision,
int  opts,
const char *  defid 
)
static

Definition at line 692 of file lwout_x3d.c.

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

Referenced by lwgeom_to_x3d3().

693 {
694  char *x3d;
695  size_t size;
696 
697  size = asx3d3_tin_size(tin, srs, precision, opts, defid);
698  x3d = lwalloc(size);
699  asx3d3_tin_buf(tin, srs, x3d, precision, opts, defid);
700  return x3d;
701 }
static size_t asx3d3_tin_buf(const LWTIN *tin, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:646
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:622
void * lwalloc(size_t size)
Definition: lwutil.c:229
opts
Definition: ovdump.py:44
Here is the call graph for this function:
Here is the caller graph for this function: