Definition at line 349 of file lwout_x3d.c.
350{
351 uint32_t i;
352 uint32_t j;
353 uint32_t k;
354 uint32_t np;
356
357
359
360 j = 0;
361 for (i=0; i<psur->
ngeoms; i++)
362 {
365 for (k=0; k < np ; k++)
366 {
367 if (k)
368 {
370 }
372 }
373 if (i < (psur->
ngeoms - 1) )
374 {
376 }
377 j += k;
378 }
379
382 ( (opts &
LW_X3D_FLIP_XY) ?
"latitude_first" :
"longitude_first") );
384
385 for (i=0; i<psur->
ngeoms; i++)
386 {
388 if (i < (psur->
ngeoms - 1) )
389 {
391 }
392 }
393
394
396}
#define LW_X3D_FLIP_XY
Macros for specifying X3D options.
#define X3D_USE_GEOCOORDS(x)
static int asx3d3_poly_sb(const LWPOLY *poly, __attribute__((__unused__)) char *srs, int precision, int opts, __attribute__((__unused__)) int is_patch, __attribute__((__unused__)) const char *defid, stringbuffer_t *sb)
Compute the X3D coordinates of the polygon and add to string buffer.
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 asx3d3_poly_sb(), LWPSURFACE::geoms, LW_X3D_FLIP_XY, LWPSURFACE::ngeoms, POINTARRAY::npoints, precision, LWPOLY::rings, stringbuffer_aprintf(), and X3D_USE_GEOCOORDS.
Referenced by asx3d3_collection_sb(), and lwgeom_to_x3d3_sb().