PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ asx3d3_line_coords()

static size_t asx3d3_line_coords ( const LWLINE line,
char *  output,
int  precision,
int  opts 
)
static

Definition at line 209 of file lwout_x3d.c.

References lwline_is_closed(), pointArray_toX3D3(), and LWLINE::points.

Referenced by asx3d3_multi_buf().

210 {
211  char *ptr=output;
212  /* ptr += sprintf(ptr, ""); */
213  ptr += pointArray_toX3D3(line->points, ptr, precision, opts, lwline_is_closed(line));
214  return (ptr-output);
215 }
uint8_t precision
Definition: cu_in_twkb.c:25
int lwline_is_closed(const LWLINE *line)
Definition: lwline.c:468
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
POINTARRAY * points
Definition: liblwgeom.h:422
Here is the call graph for this function:
Here is the caller graph for this function: