PostGIS  2.2.7dev-r@@SVN_REVISION@@
static size_t asx3d3_triangle_buf ( const LWTRIANGLE triangle,
char *  srs,
char *  output,
int  precision,
int  opts,
const char *  defid 

Definition at line 346 of file lwout_x3d.c.

References pointArray_toX3D3(), and LWTRIANGLE::points.

Referenced by asx3d3_tin_buf(), and asx3d3_triangle().

347 {
348  char *ptr=output;
349  ptr += pointArray_toX3D3(triangle->points, ptr, precision, opts, 1);
351  return (ptr-output);
352 }
Definition: liblwgeom.h:417
uint8_t precision
Definition: cu_in_twkb.c:25
static size_t pointArray_toX3D3(POINTARRAY *pa, char *buf, int precision, int opts, int is_closed)
In X3D3, coordinates are separated by a space separator.
Definition: lwout_x3d.c:819

Here is the call graph for this function:

Here is the caller graph for this function: