PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ asgml3_triangle()

static char * asgml3_triangle ( const LWTRIANGLE triangle,
const char *  srs,
int  precision,
int  opts,
const char *  prefix,
const char *  id 
)
static

Definition at line 1373 of file lwout_gml.c.

1374 {
1375  char *output;
1376  int size;
1377 
1378  size = asgml3_triangle_size(triangle, srs, precision, opts, prefix, id);
1379  output = lwalloc(size);
1380  asgml3_triangle_buf(triangle, srs, output, precision, opts, prefix, id);
1381  return output;
1382 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
static size_t asgml3_triangle_size(const LWTRIANGLE *triangle, const char *srs, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1331
static size_t asgml3_triangle_buf(const LWTRIANGLE *triangle, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1348
opts
Definition: ovdump.py:44

References asgml3_triangle_buf(), asgml3_triangle_size(), lwalloc(), ovdump::opts, and precision.

Referenced by lwgeom_to_gml3().

Here is the call graph for this function:
Here is the caller graph for this function: