PostGIS  2.4.9dev-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 609 of file lwout_x3d.c.

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

Referenced by lwgeom_to_x3d3().

610 {
611  char *x3d;
612  size_t size;
613 
614  size = asx3d3_psurface_size(psur, srs, precision, opts, defid);
615  x3d = lwalloc(size);
616  asx3d3_psurface_buf(psur, srs, x3d, precision, opts, defid);
617  return x3d;
618 }
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
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:529
static size_t asx3d3_psurface_buf(const LWPSURFACE *psur, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:552
Here is the call graph for this function:
Here is the caller graph for this function: