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

Definition at line 181 of file lwout_x3d.c.

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

Referenced by asx3d3_multi_buf().

182 {
183  char *ptr=output;
184  /* ptr += sprintf(ptr, ""); */
185  ptr += pointArray_toX3D3(line->points, ptr, precision, opts, lwline_is_closed(line));
186  return (ptr-output);
187 }
int lwline_is_closed(const LWLINE *line)
Definition: lwline.c:435
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
Definition: liblwgeom.h:378

Here is the call graph for this function:

Here is the caller graph for this function: