PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ asx3d3_triangle_buf()

static size_t asx3d3_triangle_buf ( const LWTRIANGLE triangle,
char *  srs,
char *  output,
int  precision,
int  opts,
const char *  defid 
)
static

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);
350 
351  return (ptr-output);
352 }
POINTARRAY * points
Definition: liblwgeom.h:417
uint8_t precision
Definition: cu_in_twkb.c:25
opts
Definition: ovdump.py:44
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: