PostGIS  2.1.10dev-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 339 of file lwout_x3d.c.

References pointArray_toX3D3(), and LWTRIANGLE::points.

Referenced by asx3d3_tin_buf(), and asx3d3_triangle().

340 {
341  char *ptr=output;
342  ptr += pointArray_toX3D3(triangle->points, ptr, precision, opts, 1);
344  return (ptr-output);
345 }
Definition: liblwgeom.h:389
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:775

Here is the call graph for this function:

Here is the caller graph for this function: