PostGIS  2.2.7dev-r@@SVN_REVISION@@
static size_t asx3d3_line_coords ( const LWLINE line,
char *  output,
int  precision,
int  opts 
)
static

Definition at line 188 of file lwout_x3d.c.

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

Referenced by asx3d3_multi_buf().

189 {
190  char *ptr=output;
191  /* ptr += sprintf(ptr, ""); */
192  ptr += pointArray_toX3D3(line->points, ptr, precision, opts, lwline_is_closed(line));
193  return (ptr-output);
194 }
uint8_t precision
Definition: cu_in_twkb.c:25
int lwline_is_closed(const LWLINE *line)
Definition: lwline.c:439
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
POINTARRAY * points
Definition: liblwgeom.h:406

Here is the call graph for this function:

Here is the caller graph for this function: