PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ asx3d3_psurface()

static char * asx3d3_psurface ( const LWPSURFACE psur,
char *  srs,
int  precision,
int  opts,
const char *  defid 
)
static

Definition at line 588 of file lwout_x3d.c.

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

Referenced by lwgeom_to_x3d3().

589 {
590  char *x3d;
591  size_t size;
592 
593  size = asx3d3_psurface_size(psur, srs, precision, opts, defid);
594  x3d = lwalloc(size);
595  asx3d3_psurface_buf(psur, srs, x3d, precision, opts, defid);
596  return x3d;
597 }
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:199
opts
Definition: ovdump.py:44
static size_t asx3d3_psurface_size(const LWPSURFACE *psur, char *srs, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:508
static size_t asx3d3_psurface_buf(const LWPSURFACE *psur, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:531
Here is the call graph for this function:
Here is the caller graph for this function: