Return the linestring as an X3D LineSet.
Definition at line 221 of file lwout_x3d.c.
226{
227
228
230
231
232
233
236
238 else
240
242
243
245
247}
#define LW_X3D_FLIP_XY
Macros for specifying X3D options.
#define X3D_USE_GEOCOORDS(x)
int lwline_is_closed(const LWLINE *line)
static int ptarray_to_x3d3_sb(POINTARRAY *pa, int precision, int opts, int is_closed, stringbuffer_t *sb)
In X3D3, coordinates are separated by a space separator.
int stringbuffer_aprintf(stringbuffer_t *s, const char *fmt,...)
Appends a formatted string to the current string buffer, using the format and argument list provided.
References LW_X3D_FLIP_XY, lwline_is_closed(), POINTARRAY::npoints, LWLINE::points, precision, ptarray_to_x3d3_sb(), stringbuffer_aprintf(), and X3D_USE_GEOCOORDS.
Referenced by asx3d3_collection_sb(), and lwgeom_to_x3d3_sb().