PostGIS  2.3.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 367 of file lwout_x3d.c.

References pointArray_toX3D3(), and LWTRIANGLE::points.

Referenced by asx3d3_tin_buf(), and asx3d3_triangle().

368 {
369  char *ptr=output;
370  ptr += pointArray_toX3D3(triangle->points, ptr, precision, opts, 1);
371 
372  return (ptr-output);
373 }
POINTARRAY * points
Definition: liblwgeom.h:432
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:840
Here is the call graph for this function:
Here is the caller graph for this function: