PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asx3d3_psurface ( const LWPSURFACE psur,
char *  srs,
int  precision,
int  opts,
const char *  defid 
)
static

Definition at line 570 of file lwout_x3d.c.

References asx3d3_psurface_buf(), asx3d3_psurface_size(), and lwalloc().

Referenced by lwgeom_to_x3d3().

571 {
572  char *x3d;
573  size_t size;
574 
575  size = asx3d3_psurface_size(psur, srs, precision, opts, defid);
576  x3d = lwalloc(size);
577  asx3d3_psurface_buf(psur, srs, x3d, precision, opts, defid);
578  return x3d;
579 }
void * lwalloc(size_t size)
Definition: lwutil.c:175
static size_t asx3d3_psurface_size(const LWPSURFACE *psur, char *srs, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:494
static size_t asx3d3_psurface_buf(const LWPSURFACE *psur, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:515

Here is the call graph for this function:

Here is the caller graph for this function: