PostGIS  2.4.9dev-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 1392 of file lwout_gml.c.

References asgml3_triangle_buf(), asgml3_triangle_size(), and lwalloc().

Referenced by lwgeom_to_gml3().

1393 {
1394  char *output;
1395  int size;
1396 
1397  size = asgml3_triangle_size(triangle, srs, precision, opts, prefix, id);
1398  output = lwalloc(size);
1399  asgml3_triangle_buf(triangle, srs, output, precision, opts, prefix, id);
1400  return output;
1401 }
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:1350
uint8_t precision
Definition: cu_in_twkb.c:25
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:1367
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: